• 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
Determine output:void main(){ int const *p=5; printf("%d", ++(*p));}

6
Garbage Value
Compiler Error
5

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The default parameter passing mechanism is

call by reference
call by value result
None of these.
call by value

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));}

2
Compiler Error
20
Linker Error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following program?#include#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); }

4
None of These
16
64

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));}

12
15
10
None of these
11

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();}

Infinite Loop
5 4 3 2 1
None of These
5 5 5 5 5

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
↑