• 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.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));}

0, 2
2, 2
2, 0
2, 4
4, 4

ANSWER DOWNLOAD EXAMIANS APP

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

1
10
14
0
None of these

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);}

a = 4, c = 6
b = 3, c = 6
a = 3, c = 8
a = 4, c = 8
b = 4, c = 6

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=5
c=3 d=5
c=3 d=3
c=5 d=3

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); }

haasi
asiha
absiha
hai
None of these

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Comment on the following pointer declaration?int *ptr, p;

ptr is pointer to integer, p may or may not be.
ptr and p, both are pointers to integer.
ptr is a pointer to integer, p is not.
ptr and p both are not pointers to integer.

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
↑