

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following C code? (Assuming size of int be 4)#include <stdio.h> struct Count { int n1; int n2; int n3; } cnt[] = {0}; main() { printf("%d", sizeof(cnt)); } |
A. | 16 |
B. | 12 |
C. | 4 |
D. | Compilation Error |
E. | None of these |
Answer» C. 4 | |