MCQOPTIONS
Saved Bookmarks
This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your C knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
5 byte? |
| A. | 10 bytes |
| B. | 40 bytes |
| C. | 50 bytes |
| Answer» D. | |
| 2. |
We want to create an alias name for an identifier of the type unsigned long. The alias name is: ul. The correct way to do this using the keyword typedef is: |
| A. | typedef unsigned long ul; |
| B. | unsigned long typedef ul; |
| C. | typedef ul unsigned long; |
| D. | ul typedef unsigned long; |
| Answer» B. unsigned long typedef ul; | |
| 3. |
Which of the following keywords is used to define an alternate name for an already existing data type? |
| A. | default |
| B. | volatile |
| C. | typedef |
| D. | static |
| Answer» D. static | |