• 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
Determine Output:#define square(x) x*xvoid main(){ int i; i = 64/square(4); printf("%d", i);}

None of These
64
4
16

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);}

None of These
10
50
Compiler Error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as

int (*p) (char *)[]
None of these.
int(*p(char *))[]
int *p(char *)[]

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the following code's output if choice = 'R'?switch(choice){ case 'R' : printf("RED"); case 'W' : printf("WHITE"); case 'B' : printf("BLUE"); default : printf("ERROR");break;}

ERROR
RED ERROR
RED WHITE BLUE
RED WHITE BLUE ERROR
RED

ANSWER DOWNLOAD EXAMIANS APP

C Programming
If the two strings are identical, then strcmp() function returns

None of these
0
-1
1
true

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the base data type of a pointer variable by which the memory would be allocated to it?

No data type
float
Depends upon the type of the variable to which it is pointing.
unsigned int
int

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
↑