printf("2) Trier le tableau.\n");
printf("3) Afficher le tableau.\n");
printf("4) Compter le nombre d'occurence d'un entier dans le tableau.\n");
- printf("5) Quitter.\n");
+ printf("5) Compter le nombre d'entiers pairs dans le tableau.\n");
+ printf("6) Compter le nombre d'entiers impairs dans le tableau.\n");
+ printf("7) Quitter.\n");
}
int* do_concat(int array[], unsigned* size) {
criteria = ascending_and_odd;
break;
default:
+ /* sort ascending by default, unused code path */
criteria = ascending;
break;
}