• 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
Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));}

2..4
2..2
4..2
4..4

ANSWER DOWNLOAD EXAMIANS APP

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

2
1
3
0
Garbage Value

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following is a complete function?

void funct(x) { printf(“Hello"); }
None of these
int funct(int x) { return x=x+1; }
void funct(int) { printf(“Hello"); }
int funct();

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the correct value to return to the operating system upon the successful completion of a program?

Program do no return a value.
1
-1
2

ANSWER DOWNLOAD EXAMIANS APP

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

10
50
None of These
Compiler Error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The type of the controlling expression of a switch statement cannot be of the type ........

float
char
short
long
int

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
↑