

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following C code?#include <stdio.h> struct { int i; char a; }; int main() { struct stru; stru.i = 100; printf("%d n", stru.i); } |
A. | Compilation Error |
B. | Garbage value |
C. | Nothing |
D. | 100 |
E. | None of these |
Answer» B. Garbage value | |