• 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);}

Syntax error
65 65
53 65
053 65
065 65

ANSWER DOWNLOAD EXAMIANS APP

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

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Standard ANSI C recognizes ______ number of keywords?

24
40
32
30
36

ANSWER DOWNLOAD EXAMIANS APP

C Programming
short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code?

7
24
It will not compile because not enough initializers are given
6
12

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);}

Garbage Value
hi
Error
h
hi followed by garbage value

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);}

None of These
hello garbage value
hello 5
Error

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
↑