• 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
Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);}

65 65
065 65
Syntax error
053 65
53 65

ANSWER DOWNLOAD EXAMIANS APP

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

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the program?#include#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));}

sizeof(i)=2
Compiler Error
None of These
sizeof(i)=1

ANSWER DOWNLOAD EXAMIANS APP

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

c
Error
A
65

ANSWER DOWNLOAD EXAMIANS APP

C Programming
A C variable cannot start with

A special symbol other than underscore
A number
An alphabet
Both of the above

ANSWER DOWNLOAD EXAMIANS APP

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

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

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
↑