guys,,
why does this code does'nt work
#include<stdio.h>
struct emp{
char name[80];
};
main(){
struct emp e;
e=data();
}
emp data(){
struct emp e;
strcpy(e.name,"test");
return e;
}
please help me...
i really need to finished this part on my programm...
tnx
how can i return emp struct from data function?