How do you allocate memory for a struct as a member in another struct?
By allocating memory for the enclosing struct. This will automatically allocate the memory for the member structs.
By allocating memory for the enclosing struct. This will automatically allocate the memory for the member structs.