• 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=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);}

1 1 1
garbage values
0 0 0
Error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a);

14
12
15
Garbage Value
13

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a;

11
6
5
10
9

ANSWER DOWNLOAD EXAMIANS APP

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

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which command is used to skip the rest of a loop and carry on from the top of the loop again?

skip
None of these
break
continue
resume

ANSWER DOWNLOAD EXAMIANS APP

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

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

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
↑