• 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:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));}

10
12
11
15

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The statement int **a;

None of these.
is illegal
is syntactically and semantically correct
is legal but meaningless

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?

rem = modf(3.14, 2.1);
rem = 3.14 % 2.1;
rem = fmod(3.14, 2.1);
Remainder cannot be obtain in floating point division.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here}

None of These
10
Garbage Value
1

ANSWER DOWNLOAD EXAMIANS APP

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

10
1
0
None of these
14

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What does the following declaration mean?int (*ptr)[10];

ptr is a pointer to an array of 10 integers
ptr is an pointer to array
ptr is an array of 10 integers
ptr is array of pointers to 10 integers

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
↑