dynamic number of pointers inside a struct
===

friends

I have a struct which contains pointers. Different pointers will connect to different data types. 
The problem is i don't know how many the current struct will connect to, and what those data structures would be.
 
For example,

struct root{

  branch1 *a;

  branch2 *b;

  branch3 *c;
 
 ......
};

Branch1, 2, 3 are different struct themselves. But i don't know for now how many branch1, 2, 3 i will connect the root to. Therefore, is there a way to dynamically introduce extra pointers into the struct if later I know how many the root will connect to?


Thanks
xf