• 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
What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);}

fff1
fff4
fff3
fff2
fff0

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine output:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());}

0
Error
100
1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
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); }}

1 2 3 10
4 5 6 7 8 9
1 2 3 4 5 6 7 8 9
4 5 6 7 8 9 10
None of these

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));}

1 1
1 2
2 1
2 2

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i=1; while(i<=5) { printf("%d", i); if(i>2) goto here; i++; }}fun(){ here: printf("PP");}

Compiler Error
12PP
None of These
12PP345

ANSWER DOWNLOAD EXAMIANS APP

C Programming
A C variable cannot start with

A number
A special symbol other than underscore
Both of the above
An alphabet

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
↑