What would be the output of the following program?
main()
{
struct emp
{
char *n;
int age;
};
struct emp e1 = { "Dravid", 23};
struct emp e2 = e1;
strupr (e2.n);
printf ("\n%s",e1.n);
}5
728 5b5cc7dde4d2b419777515d4
Q: What would be the output of the following program? main() { struct emp { char *n; int age; }; struct emp e1 = { "Dravid", 23}; struct emp e2 = e1; strupr (e2.n); printf ("\n%s",e1.n); }
- Show Answer
- Workspace
- Discuss