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 chararrptrs Each element in the array of pointers will point to an element in your literal array.
Your job will be twofold.
First, find a specific value in the chararr using your array of pointers.
second, once if you find the target element in the chararr, 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
You will then use a function pointer to call the calculatefactorial function and print the answer in the calling function.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
