MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code?#include <stdio.h> union { int n; char ch; }U; int main() { U.ch = 201; printf("%d n", sizeof(U)); } |
| A. | sizeof(int) + sizeof(char) |
| B. | sizeof(char) |
| C. | Compilation Error |
| D. | Depends on the compiler |
| E. | None of these |
| Answer» C. Compilation Error | |