MCQOPTIONS
Saved Bookmarks
This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your C Programming knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
In a 32-bit compiler, which 2 types have the same size? |
| A. | char and short |
| B. | short and int |
| C. | int and float |
| D. | float and double |
| Answer» D. float and double | |
| 2. |
Which among the following is never possible as an output for a float? |
| A. | 3.666666 |
| B. | 3.666 |
| C. | 3 |
| D. | None of the mentioned |
| Answer» E. | |
| 3. |
How many digits are present after the decimal in float value? |
| A. | 1 |
| B. | 3 |
| C. | 6 |
| D. | 16 |
| Answer» D. 16 | |