
Implement a function that rearranges the elements of an integer array in non-decreasing order, modifying the buffer directly without returning anything.
int t[] = {4, 1, 3, 2}; sort_array(t, 4);{1, 2, 3, 4}int t[] = {-2, 5, -7, 0, 3}; sort_array(t, 5);{-7, -2, 0, 3, 5}sort_array.c
Run the tests to grade your code
Implement a function that rearranges the elements of an integer array in non-decreasing order, modifying the buffer directly without returning anything.
int t[] = {4, 1, 3, 2}; sort_array(t, 4);{1, 2, 3, 4}int t[] = {-2, 5, -7, 0, 3}; sort_array(t, 5);{-7, -2, 0, 3, 5}sort_array.c
Run the tests to grade your code
Memory will appear here