Menu

(Solved) : Exercise 25 Write Function Computes Minimum Max Imum Two Integer Variables Returns Call Re Q44134717 . . .

Exercise 2.5. Write a function that computes the minimum and themax- imum of two integer variables and returns them throughcall-by-reference parameters. It should have the followingprototype:

int minmax(int a, int b, int * min, int * max);

Write a unit test of minmax in a main function.

language is in C.

Expert Answer


Answer to Exercise 2.5. Write a function that computes the minimum and the max- imum of two integer variables and returns them thr…

OR