• 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
The type of the controlling expression of a switch statement cannot be of the type ........

long
int
float
short
char

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which command is used to skip the rest of a loop and carry on from the top of the loop again?

None of these
continue
skip
resume
break

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);}

NOITANIMAXE
No output at all.
NOITANIMAXE C
C
Syntax error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
In which stage the following code#includegets replaced by the contents of the file stdio.h

During linking
During Editing
During Execution
None of these
During Preprocessing

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Choose the best answer.Prior to using a pointer variable

It should be both declared and initialized.
None of these.
It should be declared.
It should be initialized.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine output:#include void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");}

nullp nullq
p q
x nullq where x can be p or nullp depending on the value of NULL
Depends on the compiler

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
↑