Objectives:
At the end of this lesson you will be able to:
 |
Use pointers to structures |
Like any other type, structures can be pointed by its own type of pointers:

Here amovie is an object of structure type movies_t, and pmovie is a pointer to point to objects of structure type movies_t. So, the following code would also be valid: