Question: In C++ Develop a program that creates a dynamic array of function pointers that return void and takes an integer parameter. It will then initialize
In C++
Develop a program that creates a dynamic array of function pointers that return void and takes an integer parameter. It will then initialize the array with values as addresses of f1, f2, f3 in sequence. It will also, produce a call sequence array and shuffle it 100 time and then pass these two arrays to a function that will call the functions in the first array according to the sequence in the second array, which terminates with an -1 terminator.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
