Question: 2. Write the function that transfers the given two-dimensional character string to a dynamic structure as below. S E N G 1 0 1 C

2. Write the function that transfers the given two-dimensional character string to a dynamic structure as below. S E N G 1 0 1 C O U R S E X E R M E NT Q U E S T 0 N 2 6 0 P 0 N T Figure1: 2D static character string that consumes memory spaces S E N G 10 1 0 1 VO O U R S E VO 4 E E R 1 M E z 10 Q U E S T 1 O N VO 6 0 10 P o 1 N T 10 Figure2: A dynamic structure uses only as much space as needed I Code the function that takes the structure created in the second question as a parameter and frees the memory areas. 3. Write the function that takes the structure in the 2. question as a parameter and free the memory areas
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
