Skip to main content

Practice · 3 of 4

Find by Pointers

CHALLENGE
Difficulty: beginner+25 XP

Implement const int* find_ptr(const int *begin, const int *end, int target) returning a pointer to the first element equal to target, or end if absent. No [] allowed.

Back to lesson: Practice: Arithmetic Workbench