Hi all, it would be helpful for me if a small doubt of mine is resolved.
I want to know how to create an array of structure instances for a nested structure. Let me write it
type Strct1 struct {
val1 int
val2 int
}
type Strct2 struct {
Namce string
temp Strct1
}
I want to create an array of instances for Strct2 and initialise it. Please let me know how to do it.
Thanks
Nagaraj