MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code?#include <stdio.h> typedef struct Employee { char *ch; }Employ; void main() { Employ emp; emp.ch = "Hello"; printf("%s", emp.ch); }emp |
| A. | Hello |
| B. | Garbage value |
| C. | Compilation Error |
| D. | All of above |
| E. | None of these |
| Answer» D. All of above | |