• 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
Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));}

6
Error
5
4

ANSWER DOWNLOAD EXAMIANS APP

C Programming
In an expression involving || operator, evaluationI.   Will be stopped if one of its components evaluates to falseII.  Will be stopped if one of its components evaluates to trueIII. Takes place from right to leftIV.  Takes place from left to right

II and IV
III and IV
I and II
II and III
I and III

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));}

10012
Syntax error
100
g##g2
Runtime error

ANSWER DOWNLOAD EXAMIANS APP

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

no error no output
complier error
1
0

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following function is more appropriate for reading in a multi-word string?

printf()
scanf()
None of these
gets()
puts()

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ float me = 1.1; double you = 1.1; if(me==you) printf("I hate Examveda"); else printf("I love Examveda");}

None of These
Error
I love Examians
I hate Examians

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
↑