1.

What will be the output of the following C code?#include <stdio.h> typedef struct Employee { char *ch; }Employ; void main() { struct Employee emp; emp.ch = "Welcome"; printf("%s", emp.ch); }

A. Welcome
B. Compilation Error
C. Garbage value
D. Undefined behaviour
E. None of these
Answer» B. Compilation Error


Discussion

No Comment Found