

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following C code?#include <stdio.h7gt; struct City function(void) { struct City { char *name; }; struct City c1; c1.name = "Patna"; return c1; } void main() { struct City c2 = function(); printf("%s", c2.name); } |
A. | India |
B. | Garbage value |
C. | Undefined behaviour |
D. | Compilation Error |
E. | None of these |
Answer» E. None of these | |