• 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 is the output of the following statements?int i = 0;printf("%d %d", i, i++);

0 0
1 0
1 1
None of these
0 1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));}

12
11
15
10

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));}

Linker Error
Compiler Error
2
20

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?

efg
defg
fg
bcdefg
cdefg

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the maximum number of dimensions an array in C may have?

20
2
Theoratically no limit. The only practical limits are memory size and compilers.
50
8

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));}

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

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
↑