• 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
If integer needs two bytes of storage, then maximum value of an unsigned integer is

216 – 1
215 – 1
215
216
None of these

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);}

Error
None of These
%d\n
300

ANSWER DOWNLOAD EXAMIANS APP

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

None of these.
The pointers point to structure of similar data type.
The pointers point to data of similar type.
The pointers point to elements of the same array.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine output:#include void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");}

p q
x nullq where x can be p or nullp depending on the value of NULL
Depends on the compiler
nullp nullq

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } }

Compiler Error
Nothing is printed
exam is printed
XAM is printed

ANSWER DOWNLOAD EXAMIANS APP

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

0 0 0 0
5 4 3 2 1
None of These
Infinite Loop

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
↑