Structure array example

In the following example, we create an array of structs of type Student. There is no explicit use of pointers in the examples. Struct members are accessed using the dot notation for the struct array.