Question: Part A: Array of pointers In the first part of the lab assignment you will create a literal array of chars ( char arr )

Part A: Array of pointers
In the first part of the lab assignment you will create a literal array of chars (char arr) and then an array of pointers (char_arr_ptrs). Each element in the array of pointers will point to an element in your literal array.
Your job will be two-fold.
First, find a specific value in the char_arr using your array of pointers.
second, once (if) you find the target element in the char_arr, you will delete it and print the update array (without the target element).
Part B:Function Pointers
In this part of the lab assignment:
First, you will create a simple function (calculate factorial) that will use a recursive 100.
You will then use a function pointer to call the calculate_factorial function and print the answer in the calling function.
 Part A: Array of pointers In the first part of the

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!