• 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
5
Garbage Value
Compiler Error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );}

0.5
0.25
9
1
2

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The declarationint (*p) [5];means

The same as int *p[
p is a pointer to a 5 elements integer array.
p is one dimensional array of size 5, of pointers to integers.
None of these.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following comments about the ++ operator are correct?

It associates from the right
All of these
It cannot be applied to an expression
It is a unary operator
The operand can come before or after the operator

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Comment on the following pointer declaration?int *ptr, p;

ptr and p, both are pointers to integer.
ptr is pointer to integer, p may or may not be.
ptr is a pointer to integer, p is not.
ptr and p both are not pointers to integer.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Standard ANSI C recognizes ______ number of keywords?

32
30
40
24
36

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
↑