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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!