• 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 final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;}

17
19
-1
16
20

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i);

0123456789
0
10
Infinite loop
Syntax error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i=10; i=!i>14; printf("i=%d", i);}

1
10
0
14

ANSWER DOWNLOAD EXAMIANS APP

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

Error
100
1
0

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following program?void main(){ int a, b, c, d; a = 3; b = 5; c = a, b; d = (a, b); printf("c=%d d=%d", c, d);}

c=5 d=5
c=3 d=5
c=5 d=3
c=3 d=3

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the correct value to return to the operating system upon the successful completion of a program?

-1
1
Program do no return a value.
2

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
↑