1.

What is the output of this program? #include struct employee { char *empname; int salary; }; int main() { struct employee e, e1; e.empname = "Sridhar"; e1 = e; printf("%s %s", e.empname, e1.empname); return 0; }

A. Garbage value Sridhar
B. Sridhar Garbage value
C. Sridhar Sridhar
D. Compilation Error
Answer» D. Compilation Error


Discussion

No Comment Found