• 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

Determine Output:#include<stdio.h>#define a 10void main(){ #define a 50 printf("%d", a);}

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();}

TRUE ANSWER : ?
YOUR ANSWER : ?

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

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the program ?#include<stdio.h>void main(){ int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ printf("%p", main);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Which of the following is a complete function?

TRUE ANSWER : ?
YOUR ANSWER : ?

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

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ int c = - -2; printf("c=%d", c);}

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

Determine Output:void main(){ int i=-1, j=-1, k=0, l=2, m; m = i++ && j++ && k++ || l++; printf("%d %d %d %d %d", i, j, k, l, m);}

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
↑