• 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 i=10; i = !i>14; printf("i=%d", i); }

14
None of these
0
10
1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The function scanf() returns .........

The number of successful read input values.
0
The actual values read for each argument.
ASCII value of the input read.
1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above?

defg
fg
bcdefg
cdefg
efg

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);}

fff0
fff1
fff3
fff2
fff4

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which operator has the lowest priority?

&&
++
||
%
+

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);}

x=0
x=1
Error
x=4
x=5

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
↑