First page Back Continue Last page Overview Graphics

Exercise

Structures involving character strings can also be defined. They will be dynamically allocated using malloc() and they are NULL-terminated ASCII strings. When such a member is modified, the previously contents will be released, and the new contents allocated.

Write a struct for a

person with the

components

firstname

surname and

height