Question: Create a function that takes 3 integers x, y, and z as input parameters and a pointer list as an output parameter. Assume that list
Create a function that takes 3 integers x, y, and z as input parameters and a pointer list as an output parameter. Assume that list points to an array of length 3. Your function will write in list the 3 integers sorted in non-increasing order. Loop structures are not allowed.
void sortxyz(int x, int y, int z, int *list);
Cannot use any libaries or include anything and no loop structures are allowed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
