MCQOPTIONS
Saved Bookmarks
This section includes 1 Mcqs, each offering curated multiple-choice questions to sharpen your C programming (MCQ) questions knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Comment on the output of following C program?#include main(){int a = 1;printf("size of a is %d, ", sizeof(++a));printf("value of a is %d", a);}; |
| A. | size of a is 4, value of a is 1 |
| B. | size of a is 4, value of a is 2 |
| C. | size of a is 2, value of a is 2 |
| D. | None of the above |
| Answer» B. size of a is 4, value of a is 2 | |