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