• 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:#include#define a 10void main(){ #define a 50 printf("%d", a);}

50
Compiler Error
10
None of These

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));}

2 4 4
5 5 5
2 5 5
2 4 5

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine output:void main(){ int i=10; i = !i>14; printf("i=%d", i); }

None of these
1
0
10
14

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The address operator &, cannot act on

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

ANSWER DOWNLOAD EXAMIANS APP

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

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));}

11
None of these
12
15
10

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
↑