• 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
Which operator has the lowest priority?

&&
%
||
++
+

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:#define int charvoid main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));}

sizeof(i)=1
Compiler Error
None of These
sizeof(i)=2

ANSWER DOWNLOAD EXAMIANS APP

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

hi
h
Error
Garbage Value
hi followed by garbage value

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

0
0123456789
Infinite loop
Syntax error
10

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following is the correct way of declaring a float pointer:

*float ptr;
None of these
float ptr;
float *ptr;

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i);

10 11 12 13 14
Infinite loop
9 10 11 12 13
10 11 12 13 14 15
None of these

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
↑