• 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
int a[5] = {1,2,3}What is the value of a[4]?

Garbage Value
2
1
0
3

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Standard ANSI C recognizes ______ number of keywords?

32
24
36
30
40

ANSWER DOWNLOAD EXAMIANS APP

C Programming
void main(){ int a=10, b; b = a++ + ++a; printf("%d %d %d %d", b, a++, a, ++a);}what will be the output when following code is executed?

22 13 14 14
22 12 12 13
22 11 11 11
22 14 12 13
12 10 11 13

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);}

Error
65
c
A

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }}

None of These
0 0 0 0
Infinite Loop
5 4 3 2 1

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 = fmod(3.14, 2.1);
Remainder cannot be obtain in floating point division.
rem = 3.14 % 2.1;

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
↑