Practice ยท 4 of 4
Find by Id
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.
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Mutating Operations