for ex i have a struct
struct emp
{
char name[20];
int age;
char address[30];
}
how i can iterate through the all members of emp structure. ? if i have some values to assign to alll members of struct, how i can do ?
struct emp
{
char name[20];
int age;
char address[30];
}
how i can iterate through the all members of emp structure. ? if i have some values to assign to alll members of struct, how i can do ?