Question: resize.c: sort.c: 1. In sort.c we have implemented a basic version of insertion sort. Compile and run the code to make sure it works. Now,

resize.c:

sort.c:


1. In sort.c we have implemented a basic version of insertion sort. Compile and run the code to make sure it works. Now, replace all array index access in the entire program by using pointer addition instead. Also, implement array creation using malloc. Make sure your program compiles and runs correctly (numbers are sorted). 2. The purpose of resize.c is to create an initial array of a user-specified size, then dynamically resize the array to a new user-specified size. However, the code is missing a few things. You must manage the memory for the array! Look at the comments in the code that describe what should be done and fill in blanks. Make sure the program compiles and runs as expected. #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
