• 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
What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);}

complier error
no error no output
1
0

ANSWER DOWNLOAD EXAMIANS APP

C Programming
int a[5] = {1,2,3}What is the value of a[4]?

1
3
0
Garbage Value
2

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

1
33
Compilation Error
0
-1

ANSWER DOWNLOAD EXAMIANS APP

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

10
Compiler Error
50
None of These

ANSWER DOWNLOAD EXAMIANS APP

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

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements?

arr[6]
None of these
arr{7}
arr[7]
arr{6}

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
↑