say, I have some struct like this:
typedef struct node {
char[32] name;
int *contents[10];
} Node;
I want to initialize a new Node and store it on heap, do I need also to malloc space for name and integers? However, if I tried to malloc space for them, for example:
Node *new_node = malloc{...};
new_node->name = malloc{32 * sizeof(char)};
...
I got error says name is not assignable.