• 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 does the following declaration mean?int (*ptr)[10];

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ int i=5, j=6, z; printf("%d", i+++j);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Which of the following is a complete function?

TRUE ANSWER : ?
YOUR ANSWER : ?

short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code?

TRUE ANSWER : ?
YOUR ANSWER : ?

Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5?

TRUE ANSWER : ?
YOUR ANSWER : ?

What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );}

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 : ?

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

TRUE ANSWER : ?
YOUR ANSWER : ?

Comment on the following pointer declaration?int *ptr, p;

TRUE ANSWER : ?
YOUR ANSWER : ?

What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++)

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
↑