Practice ยท 2 of 4
Zeroed Buffer
Implement int* zero_buffer(int n): heap array of n ints where EVERY element is 0 (n >= 1 guaranteed). Return NULL if allocation fails.
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Allocation Workbench