Practice ยท 1 of 3
Save Scores
Implement int save_scores(const char *path, const int *scores, int n): write one integer per line (fprintf "%d\n") and return n. Open failure returns -1.
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Persistence Layer