Practice · 4 of 4
Find by Id
CHALLENGE
Difficulty: beginner+25 XP
Given struct Rec { int id; int score; }; in scope, implement const struct Rec* find_id(const struct Rec *rs, int n, int id) returning a pointer to the record with that id, or NULL.
Press Submit to check your solution.
Back to lesson: Practice: Mutating Operations