1.

What will be the output of the following C code? #include <stdio.h> struct Employee { char *ch; }; void main() { struct Employee e; struct Employee *s = &e; (*s).ch = "Interview Mania"; printf("%p n%p n", s, &e); }

A. Interview Mania
B. Different memory address
C. Same memory address
D. Compilation Error
E. None of these
Answer» D. Compilation Error


Discussion

No Comment Found

Related MCQs