• 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
215 – 1
None of these
215
216 – 1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine output:void main(){ int const *p=5; printf("%d", ++(*p));}

5
6
Compiler Error
Garbage Value

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a);

13
15
Garbage Value
12
14

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);}

0
no error no output
1
complier error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));}

Compiler Error
20
Linker Error
2

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements?

arr{7}
arr[7]
arr{6}
None of these
arr[6]

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
↑