Question: write a C + + program that takes three integers from the user in variables num 1 , num 2 , and num 3 .
write a Cprogram that takes three integers from the user in variables num num and num Then assigns pointers ptr to the address of num ptr to the ad of num and ptr to the address of num Pass the three pointers to a function called minmax that finds the minimum and maximum of the contents of the variables pointed at by three pointers. The function should return an array of size two containing the maximum and minimum elements.
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
