C Programming Question Paper
| 1. |
What will be the output of the program ?
| |||||||||||||||
|
| 2. |
What will be the output of the program ?
| ||||||||||||
|
| 3. |
Which bitwise operator is suitable for checking whether a particular bit is on or off?
| |||||||||||||||
|
| 4. |
What will be the output of the program?
| |||||||||||||||
|
| 5. |
Which of the following statements correctly assigns 12 to month using pointer variable pdt?
| |||||||||||||||
|
| 6. |
What will be the output of the program?
| |||||||||||||||
|
| 7. |
What will be the output of the program ?
| |||||||||||||||
|
| 8. |
What will be the output of the program?
| |||||||||||||||
|
| 9. |
Point out the error in the program?
| |||||||||||||||
|
| 10. |
Point out the error in the program?
| |||||||||||||||
|
| 11. |
Which of the following sentences are correct about a switch loop in a C program?
| |||||||||||||||
|
| 12. |
In the following code, the P2 is Integer Pointer or Integer?
| |||||||||||||||
|
| 13. |
A char variable can store either an ASCII character or a Unicode character.
| |||||||
|
| 14. |
What will be the output of the program ?
| ||||||||||||||||||||||||||||||||||
|
| 16. |
It is necessary that for the string functions to work safely the strings must be terminated with '\0'.
| ||||||||||||||||||||||||||
|
| 18. |
Functions cannot return a floating point number
| |||||||
|
| 19. |
Bitwise | can be used to set a bit in number.
| |||||||
|
| 20. |
Bitwise can be used to generate a random number.
| |||||||
|
No comments:
Post a Comment