16 lines
406 B
Plaintext
16 lines
406 B
Plaintext
Assignment name : sort_int_tab
|
|
Expected files : sort_int_tab.c
|
|
Allowed functions:
|
|
--------------------------------------------------------------------------------
|
|
|
|
Write the following function:
|
|
|
|
void sort_int_tab(int *tab, unsigned int size);
|
|
|
|
It must sort (in-place) the 'tab' int array, that contains exactly 'size'
|
|
members, in ascending order.
|
|
|
|
Doubles must be preserved.
|
|
|
|
Input is always coherent.
|