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???
You seem to be confused about very basic things in C programming. Read a book on C. K&R is a good one.
The big issue is what you intend to do with your void pointers? Just store generic addresses or abuse them by typecast them to a lot of different types depending on time of day or your mood?
Most probably, you are running headlong into a very bad design.