Practice · 1 of 2
Dereference and sum
CHALLENGE
Difficulty: intermediate+25 XP
Implement int sum_through(const int* a, const int* b) returning *a + *b. Either pointer may be null; treat a null as 0.
Press Submit to check your solution.
Back to lesson: Practice: Pointers and the null contract