• 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
What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC");

1
0
Compilation Error
-1
33

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);}

None of These
hello 5
hello garbage value
Error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
For 16-bit compiler allowable range for integer constants is ________?

-32668 to 32667
-32767 to 32768
-3.4e38 to 3.4e38
-32768 to 32767

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);}

i = 1, +i = 1
i = -1, +i = 1
i = -1, +i = -1
None of These

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following is the correct way of declaring a float pointer:

None of these
*float ptr;
float ptr;
float *ptr;

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine output:void main(){ int const *p=5; printf("%d", ++(*p));}

5
Compiler Error
6
Garbage Value

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
↑