Question: C) Write C code that defines a struct called personStruct with members that store a name as a character array, a birth year as an

C) Write C code that defines a struct called personStruct with members that store a name as a character array, a birth year as an integer and a description as a pointer to a character array. Write a C function called deletePerson that accepts a pointer to a personStruct instance and frees all of the memory associated with that struct. (14 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
