• 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 is the output of the following statements?int i = 0;printf("%d %d", i, i++);

0 1
None of these
0 0
1 1
1 0

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);}

10 5 4 4
10 5 4 3
10 5 5 5
10 5 3 4
10 5 3 3

ANSWER DOWNLOAD EXAMIANS APP

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

None of these
Compilation Error
Infinite Loop
5 5 5 5 5
5 4 3 2 1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);}

053 65
53 65
Syntax error
65 65
065 65

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);}

H
Some Address will be printed
None of These
Hello

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Find the output of the following program. void main() { int i=01289; printf("%d", i); }

1289
0289
Syntax error
0713
713

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
↑