• 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
Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));}

2 2
1 1
2 1
1 2

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following comments about the ++ operator are correct?

It cannot be applied to an expression
All of these
It associates from the right
The operand can come before or after the operator
It is a unary operator

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();}

None of these
Infinite Loop
5 4 3 2 1
5 5 5 5 5
Compilation Error

ANSWER DOWNLOAD EXAMIANS APP

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

0289
713
1289
Syntax error
0713

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements?

arr{7}
arr[7]
arr{6}
arr[6]
None of these

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The function sprintf() works like printf(), but operates on ..........

no such function in 'C'.
string
Data file
stderr
stdin

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
↑