Question: Write a function sort4 that returns void and takes inputs 4 integer pointers. The function is going to sort the four integers pointed by the
Write a function "sort4" that returns void and takes inputs 4 integer pointers. The function is going to sort the four integers pointed by the pointers. Write a function that returns void and takes inputs 6 integer variables x_1, y_1, x_2, y_2, x_3, y_3, and 2 integer points p_x, P_y The function sets the value pointed by P_x as x_1 + x_2 + x_3 and the value pointed by p_y as y_1 + y_2 + y_3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
