MCQOPTIONS
Saved Bookmarks
This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your C knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which of the following header files must necessarily be included in your code, if you want to find the minimum value of unsigned short integer? |
| A. | stdio.h |
| B. | stdlib.h |
| C. | limits.h |
| D. | math.h |
| Answer» D. math.h | |
| 2. |
Suppose we have: int a=100; (signed by default). If we want to convert this to an unsigned long integer, we can do this by making the following small change: |
| A. | int a=lu100; |
| B. | int a= 100ul; |
| C. | int a=uu100; |
| D. | int a=100uu; |
| Answer» C. int a=uu100; | |