K
Kuku
My Program is crashing at
strupr(e2.n);
int main()
{
struct emp
{
char *n;
int age;
};
struct emp e1={"Dravid",50};
struct emp e2;
e2=e1;
strupr(e2.n);
printf("\ne1.n=%s\n",e1.n);
return 0;
}
strupr(e2.n);
int main()
{
struct emp
{
char *n;
int age;
};
struct emp e1={"Dravid",50};
struct emp e2;
e2=e1;
strupr(e2.n);
printf("\ne1.n=%s\n",e1.n);
return 0;
}