Practice ยท 2 of 3
Cleanup All
Implement void cleanup(int *a, int *b, int *c) freeing each NON-NULL pointer among the three. (free(NULL) is safe anyway โ call free unconditionally if you prefer.)
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Ownership Discipline