How to assign values to struct inside another struct

In reply to rr2007:

It’s not correct. Try it for yourself and see the error you get.

I don’t understand your last question. You are declaring a dynamic array.