6 typedef bool(*criteria_cb
)(int a
, int b
);
9 bool ascending(int a
, int b
);
10 bool descending(int a
, int b
);
11 bool ascending_and_even(int a
, int b
);
12 bool ascending_and_odd(int a
, int b
);
14 void sort_bubble_array(int* array
, unsigned length
, criteria_cb criteria
);