• 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
Which operator has the lowest priority?

+
++
&&
%
||

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }}

zero
None of These
three
Error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));}

2 4 5
5 5 5
2 5 5
2 4 4

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The function sprintf() works like printf(), but operates on ..........

no such function in 'C'.
stderr
stdin
Data file
string

ANSWER DOWNLOAD EXAMIANS APP

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

215 – 1
None of these
215
216 – 1
216

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will happen after compiling and running following code?main(){ printf("%p", main); }

Some address will be printed.
None of these.
Will make an infinite loop.
Error

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
↑