With this struct
typedef struct tNode_t {
struct tNode_t **a;
} tNode;
I want to be able to have a point to an array to 5 pointers to tNodes
example main:
int main()
{
tNode t;
tNode (*alpha)[5];
t.a = alpha;
}
why doesn’t this work?
This defines a pointer to an array of tNodes:
This defines an array of pointers to tNodes: