Practice · 3 of 3
First Non-Null
CHALLENGE
Difficulty: beginner+25 XP
Implement int* first_valid(int *a, int *b, int *c) returning the first pointer that is not NULL; if all are NULL return NULL.
Press Submit to check your solution.
Back to lesson: Practice: NULL Guard Duty