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