• 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
Which of the following function calculates the square of 'x' in C?

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which operator from the following has the lowest priority?

Conditional operator
Unary-operator
Assignment operator
Comma operator
Division operator

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);}

11
Compilation error
13
12
14

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);}

Garbage vlaue Garbage Value
0 Garbage Value
Garbage value 0
0 0
Code will not compile

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Choose the best answer.Prior to using a pointer variable

None of these.
It should be both declared and initialized.
It should be initialized.
It should be declared.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
C programs are converted into machine language with the help of

None of these.
An operating system
A compiler
An Editor

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
↑