Practice ยท 4 of 4
Min and Max via Pointers
Implement void minmax(const int* a, int n, int* lo, int* hi) writing the smallest and largest of n values through the out-parameters.
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Decomposition