• 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 QUIZ

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

TRUE ANSWER : ?
YOUR ANSWER : ?

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

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);}

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the given program?#include<stdio.h>void main(){ int i=10; printf("i=%d", i); { int i=20; printf("i=%d", i); i++; printf("i=%d", i); } printf("i=%d", i);}

TRUE ANSWER : ?
YOUR ANSWER : ?

C programs are converted into machine language with the help of

TRUE ANSWER : ?
YOUR ANSWER : ?

What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++)

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:#include<stdio.h>void main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5?

TRUE ANSWER : ?
YOUR ANSWER : ?

In C programming language, which of the following type of operators have the highest precedence

TRUE ANSWER : ?
YOUR ANSWER : ?
MORE MCQ

QUIZ STATS

  • 0
  • 0

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
↑