posted 11 years ago
Hi Friends,
I can't able to declare typedef in the union,say,
union xyz{
typedef struct bio{
char name[100];
int age;
float salary;
}b;
char a[sizeof(struct bio)];
};
it works well if i remove typedef keyword.
why is it so?
with respect
Anand