i've declared a structure as
typedef struct elem { int a; void *b[20]; }e;
how can i access the array of (void) pointer inside a structure???
e.b ???
- is this correct manner of accessing???
I believe the reason most people prefer to typedef every struct, union and enum is the same that drives a good part of C's syntax: brevity. People want to be able to just write "foo" instead of "struct foo" every time they use one.