• 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
The type of the controlling expression of a switch statement cannot be of the type ........

short
char
long
int
float

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which one of the following is not a reserved keyword for C?

main
default
case
register
auto

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5

-5
10
30
15
1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i);

Infinite loop
10 11 12 13 14
10 11 12 13 14 15
9 10 11 12 13
None of these

ANSWER DOWNLOAD EXAMIANS APP

C Programming
If integer needs two bytes of storage, then maximum value of an unsigned integer is

None of these
215 – 1
215
216
216 – 1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following is not a correct variable type?

char
int
float
real
double

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
↑