• 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 will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a;

9
10
5
11
6

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i=10; i=!i>14; printf("i=%d", i);}

1
10
14
0

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));}

2 5 5
2 4 5
2 4 4
5 5 5

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));}

2 2
1 2
1 1
2 1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the output of the following statements?int i = 0;printf("%d %d", i, i++);

1 0
1 1
0 0
None of these
0 1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The statement int **a;

is syntactically and semantically correct
None of these.
is illegal
is legal but meaningless

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
↑