• 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 i; printf("%d", scanf("%d", &i)); // value 10 is given as input here}

1
None of These
Garbage Value
10

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following is the correct way of declaring a float pointer:

float ptr;
*float ptr;
float *ptr;
None of these

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);}

10 5 4 3
10 5 3 3
10 5 3 4
10 5 4 4
10 5 5 5

ANSWER DOWNLOAD EXAMIANS APP

C Programming
int a[5] = {1,2,3}What is the value of a[4]?

0
3
1
Garbage Value
2

ANSWER DOWNLOAD EXAMIANS APP

C Programming
For 16-bit compiler allowable range for integer constants is ________?

-32768 to 32767
-32767 to 32768
-3.4e38 to 3.4e38
-32668 to 32667

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The address operator &, cannot act on

Both of the above
R-values
Local variables
Arithmetic expressions
Members of a structure

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
↑