sorting/ins_sort.c
/**
 * print the values of an array struct to the console.
 */
print the values of an array struct to the console.
print the values of an array struct to the console .
int int_array_print(int_array_t *array) {
    int i;
    for(i = 0; i < array->length; ++i) {
	printf("%i", array->data[i]);
	if (i < array->length - 1) {
	    printf(", ");
	}
    }
    printf("\n");
    return 0;
}
int int_array_print ( int_array_t * array ) { int i ; for ( i = 0 ; i < array -> length ; ++ i ) { printf ( " " , array -> data [ i ] ) ; if ( i < array -> length - 1 ) { printf ( " " ) ; } } printf ( " \n " ) ; return 0 ; }
print the values of an array struct to the console.
print the values of an array struct to the console .