

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