• 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
What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);}

no error no output
1
0
complier error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is right way to Initialize array?

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte)

15
30
None of these
10
50

ANSWER DOWNLOAD EXAMIANS APP

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

no output
infinity loop
3 2 1 0
3 2 1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Functions have ..........

File scope
Function scope
Block scope
Local scope
No scope at all

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); }

asiha
haasi
hai
absiha
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
↑