Question: Write a program containing the following functions, in this order: main - calls the other functions; otherwise does almost nothing getSize - which asks the
Write a program containing the following functions, in this order: main - calls the other functions; otherwise does almost nothing getSize - which asks the user how many strings they want getSpace - which gets an array in the heap of the size requested by the user inputData - which allows the user to input the strings and stores them in the array printData - which prints all the strings, one string per line destroy - which returns all the space to the heap All of these functions, except main, shall have a return type of void.
Step by Step Solution
3.34 Rating (148 Votes )
There are 3 Steps involved in it
To tackle this task well write a C program with the specified functions Heres how we can structure each function to satisfy the described requirements ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
6099f2826ae0e_30180.pdf
180 KBs PDF File
6099f2826ae0e_30180.docx
120 KBs Word File
