• 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 the following code fragment?void main(){ printf("%x",-1<<4);}

fff1
fff0
fff2
fff3
fff4

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What does the following declaration mean?int (*ptr)[10];

ptr is an array of 10 integers
ptr is a pointer to an array of 10 integers
ptr is an pointer to array
ptr is array of pointers to 10 integers

ANSWER DOWNLOAD EXAMIANS APP

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

5 5 5 5 5
5 4 3 2 1
Infinite Loop
Compilation Error
None of these

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the program ?#includevoid main(){ printf(5+"Good Morningn");}

Good
M
None of these
Good Morning
Morning

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);}

%d\n
300
Error
None of These

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The function scanf() returns .........

The number of successful read input values.
ASCII value of the input read.
The actual values read for each argument.
0
1

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
↑