Question: in C++ please Question 2 [Table of pointers): Write a function that takes a table of pointers to integers and return the smallest integer. int

in C++ please in C++ please Question 2 [Table of pointers): Write a function that

Question 2 [Table of pointers): Write a function that takes a table of pointers to integers and return the smallest integer. int minimum(int * values[], int size); Write a main program to test your function, you should define an array of pointers of 5 elements, read their values from the user and then print the minimum value with the help of your function. A sample run is given below: Please enter 5 values : 5 4 1 6 20 The minimum is : 1 Program ended with exit code

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!