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

float
int
long
char
short

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is right way to Initialize array?

int n{6} = { 2, 4, 12 };
int n(6) = { 2, 4, 12, 5, 45, 5 };
int n{} = { 2, 4, 12, 5, 45, 5 };
int num[6] = { 2, 4, 12, 5, 45, 5 };

ANSWER DOWNLOAD EXAMIANS APP

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

Can't Say
None of These
will print Hello World
Compiler Error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);}

12
Compilation error
11
13
14

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));}

-10 to infinite
-10 to 0
-10 to -1
Complier error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of following is not a valid name for a C variable?

None of these
Exam veda
Both A and B
Examians
Exam_veda

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
↑