MCQOPTIONS
Saved Bookmarks
This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your Compilers knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which of the following is integral data type? |
| A. | void |
| B. | char |
| C. | float |
| D. | double |
| Answer» C. float | |
| 2. |
What will be output of the following c code? ( according to GCC compiler) |
| A. | 0 0 |
| B. | 65536 -10 |
| C. | 0 65536 |
| D. | Compilation errorView Answer |
| Answer» B. 65536 -10 | |
| 3. |
If we compile the sam.c file with the command “gcc -o sam sam.c”, then the executable file will be? |
| A. | a.out |
| B. | sam |
| C. | sam.out |
| D. | None of the mentioned |
| Answer» C. sam.out | |