Learn/C/C — Beginner/Pointers Fundamentals/Checkpoint: Pointers/Bounds ReporterBounds ReporterChallenge on lesson: Checkpoint: PointersInstructionsCodeOutputImplement void bounds(const int* a, int n, int *mn, int *mx) storing the smallest element into *mn and the largest into *mx (n >= 1), and int pick(const int* p, int alt) returning *p when p is non-NULL else alt.Difficulty: beginnerSubmitPress Submit to check your solution.Back to lesson: Checkpoint: Pointers