• 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 QUIZ

What will be the output of the program if the array begins at 65472 and each integer occupies 2 bytes?#includevoid main(){ int a[3][4] = {1, 2, 3, 4, 4, 3, 2, 1, 7, 8, 9, 0}; printf("%u, %u", a+1, &a+1);}

TRUE ANSWER : ?
YOUR ANSWER : ?

The operator > and < are meaningful when used with pointers, if

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); }

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);}

TRUE ANSWER : ?
YOUR ANSWER : ?

When a function is recursively called all the automatic variables are stored in a ..........

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }}

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Which of the following function is more appropriate for reading in a multi-word string?

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);}

TRUE ANSWER : ?
YOUR ANSWER : ?
MORE MCQ

QUIZ STATS

  • 0
  • 0

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
↑