• 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 code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }}

TRUE ANSWER : ?
YOUR ANSWER : ?

char* myfunc(char *ptr){ ptr+=3; return(ptr);}void main(){ char *x, *y; x = "EXAMVEDA"; y = myfunc(x); printf("y=%s", y);}What will be printed when the sample code above is executed?

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ int c = - -2; printf("c=%d", c);}

TRUE ANSWER : ?
YOUR ANSWER : ?

The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));}

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ char not; not = !2; printf("%d", not);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Which of the following is not a correct variable type?

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ int i=10; i=!i>14; printf("i=%d", i);}

TRUE ANSWER : ?
YOUR ANSWER : ?

#include<stdio.h>void main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Let x be an array. Which of the following operations are illegal?I.   ++xII. x+1III. x++IV. x*2

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
↑