• 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
Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5?

-10
110
10
-110
450

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);}

50, 13, 24, 13
50, 13, 24, 50
50, 13, 11, 13
13, 13, 24, 13
13, 10, 24, 50

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

10
1
30
15
-5

ANSWER DOWNLOAD EXAMIANS APP

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

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The operator > and < are meaningful when used with pointers, if

The pointers point to data of similar type.
None of these.
The pointers point to elements of the same array.
The pointers point to structure of similar data type.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the program ?#includevoid main(){ printf(5+"Good Morningn");}

Good
Morning
Good Morning
M
None of these

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
↑