• 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(x, 2)
sqr(x)
pow(2, x)
pow(x, 2)
power(2, x)

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

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC");

Compilation Error
1
0
33
-1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which one of the following is not a valid identifier?

exam_veda
_examians
1examians
examians1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);}

None of These
10
50
Compiler Error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Functions have ..........

Block scope
File scope
Function scope
No scope at all
Local scope

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
↑