• 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 the Final Output:void main(){ printf("\nab"); printf("\bsi"); printf("\rha");}

hai
haasi
absiha
asiha

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();}

Infinite Loop
5 5 5 5 5
5 4 3 2 1
None of These

ANSWER DOWNLOAD EXAMIANS APP

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

None of these
asiha
haasi
hai
absiha

ANSWER DOWNLOAD EXAMIANS APP

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

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);}

x=0
x=4
Error
x=5
x=1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
int a[5] = {1,2,3}What is the value of a[4]?

Garbage Value
2
0
3
1

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
↑