• 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
Which operator has the lowest priority?

++
||
&&
%
+

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following is a complete function?

None of these
void funct(x) { printf(“Hello"); }
void funct(int) { printf(“Hello"); }
int funct();
int funct(int x) { return x=x+1; }

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );}

0.25
2
0.5
9
1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }}

1 2 3 4 5 6 7 8 9
4 5 6 7 8 9
4 5 6 7 8 9 10
1 2 3 10
None of these

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The function scanf() returns .........

The number of successful read input values.
ASCII value of the input read.
The actual values read for each argument.
0
1

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();}

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

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
↑