Nested Structures

Explore a nested structure with the help of an interactive example.

What is a nested structure?


A structure within another structure is known as a nested structure.


One structure can be nested within another. Just as we can declare members inside the structure, we can also declare one structure as a member inside the body of another structure.

Get hands-on with 1200+ tech skills courses.