• 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++));}

4
6
Error
5

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);}

5
7
None of These
6

ANSWER DOWNLOAD EXAMIANS APP

C Programming
If the two strings are identical, then strcmp() function returns

-1
1
None of these
true
0

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine output:main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);}

9
11
10
None of these.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);}

300
%d\n
None of These
Error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);}

14
12
11
13
Compilation error

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
↑