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
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
Get step-by-step solutions from verified subject matter experts
