• 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
Determine Output:void main(){ int c = - -2; printf("c=%d", c);}

1
Error
-2
2

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);}

h
hi
Garbage Value
hi followed by garbage value
Error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following program?#include#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); }

4
64
None of These
16

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);

10
Infinite loop
0123456789
Syntax error
0

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which is the only function all C programs must contain?

printf()
getch()
system()
start()
main()

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which operator has the lowest priority?

+
&&
||
%
++

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
↑