• 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:void main(){ int i=0, j=0; if(i && j++) printf("%d..%d", i++, j); printf("%d..%d", i, j);}

1..1
0..1
0..0
1..0

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The address operator &, cannot act on

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }}

three
Error
None of These
zero

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The function sprintf() works like printf(), but operates on ..........

stdin
stderr
no such function in 'C'.
Data file
string

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following function calculates the square of 'x' in C?

pow(x, 2)
sqr(x)
power(x, 2)
pow(2, x)
power(2, x)

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);}

12
Error
11
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
↑