MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code?#include <stdio.h> struct option1 { int m; int n; }; struct option2 { int m; int n; }; int main() { struct option1 opt1 = {10}; struct option2 opt2 = opt1; printf("%d n", opt2.m); } |
| A. | Garbage value |
| B. | 0 |
| C. | 10 |
| D. | Compilation Error |
| E. | None of these |
| Answer» E. None of these | |