• HOME
  • QUIZ
  • CONTACT US
EXAMIANS
  • COMPUTER
  • CURRENT AFFAIRS
  • ENGINEERING
    • Chemical Engineering
    • Civil Engineering
    • Computer Engineering
    • Electrical Engineering
    • Mechanical Engineering
  • ENGLISH GRAMMAR
  • GK
  • GUJARATI MCQ

C Programming

C Programming
Functions have ..........

No scope at all
Local scope
Function scope
Block scope
File scope

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i=1; while(i<=5) { printf("%d", i); if(i>2) goto here; i++; }}fun(){ here: printf("PP");}

Compiler Error
None of These
12PP345
12PP

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Array passed as an argument to a function is interpreted as

Address of the array.
Number of element of the array.
Values of the first elements of the array.
Address of the first element of the array.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?

Remainder cannot be obtain in floating point division.
rem = fmod(3.14, 2.1);
rem = modf(3.14, 2.1);
rem = 3.14 % 2.1;

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); }

ow
et
te
ck

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); }

Compiler Error
Linking error
3 hello
None of these

ANSWER DOWNLOAD EXAMIANS APP
MORE MCQ ON C Programming

DOWNLOAD APP

  • APPLE
    from app store
  • ANDROID
    from play store

SEARCH

LOGIN HERE


  • GOOGLE

FIND US

  • 1.70K
    FOLLOW US
  • EXAMIANSSTUDY FOR YOUR DREAMS.
  • SUPPORT :SUPPORT EMAIL ACCOUNT : examians@yahoo.com

OTHER WEBSITES

  • GUJARATI MCQ
  • ACCOUNTIANS

QUICK LINKS

  • HOME
  • QUIZ
  • PRIVACY POLICY
  • DISCLAIMER
  • TERMS & CONDITIONS
  • CONTACT US
↑