• 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
What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i);

8
6
5
7
9

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);}

Can't Say
will print Hello World
Compiler Error
None of These

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a);

12
Garbage Value
13
14
15

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Standard ANSI C recognizes ______ number of keywords?

40
36
30
32
24

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int c = - -2; printf("c=%d", c);}

1
2
Error
-2

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following program?void main(){ int a, b, c, d; a = 3; b = 5; c = a, b; d = (a, b); printf("c=%d d=%d", c, d);}

c=5 d=3
c=5 d=5
c=3 d=5
c=3 d=3

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
↑