| 1. |
What is the output of following program #include<stdio.h> void main()
|
||||||||
|
Answer:
Option (d) |
| 2. |
What is the output of this statement "printf("%d", (a++))"?
|
||||||||
|
Answer:
Option (b) |
| 3. |
What is the output of following program #include<stdio.h> void main()
|
||||||||
|
Answer:
Option (d) |
| 4. |
What does this declaration mean? int x : 4;
|
||||||||
|
Answer:
Option (c) |
| 5. |
In the C language, the constant is defined _______.
|
||||||||
|
Answer:
Option (c) |
| 6. |
The correct order of mathematical operators in mathematics and computer programming, |
|
Answer:
Option (b) |
| 7. |
#include<stdio.h> int main () { printf("IndiaPIN"); main(); return 0; }
|
||||||||
|
Answer:
Option (d) |
| 8. |
Which of the following statement shows the correct implementation of nested conditional operation by finding greatest number out of three numbers? |
|
Answer:
Option (a) |
| 9. |
A macro can execute faster than a function.
|
||||||||
|
Answer:
Option (a) |
| 10. |
#include"stdio.h"
int main() { int i; if(i=2,9,3) printf("Can't say "); else printf("Hello "); printf("%d\n",i); }
|
||||||||
|
Answer:
Option (c) |