MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code?#include <stdio.h> struct Company { char *ch; }; void main() { struct Company c1; struct Company *c2 = &c1; c2->ch = "Interview Mania"; printf("%s", c2->ch); } |
| A. | Interveiw |
| B. | Mania |
| C. | Compilation Error |
| D. | Interview Mania |
| E. | None of these |
| Answer» E. None of these | |