• 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 will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);}

12 7
6 6
11 6
6 7
5 6

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which command is used to skip the rest of a loop and carry on from the top of the loop again?

break
continue
None of these
skip
resume

ANSWER DOWNLOAD EXAMIANS APP

C Programming
If integer needs two bytes of storage, then maximum value of an unsigned integer is

215
216 – 1
216
215 – 1
None of these

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));}

2, 2
2, 4
0, 2
4, 4
2, 0

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following program?#include#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); }

16
64
None of These
4

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);}

fff1
fff4
fff3
fff0
fff2

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
↑