#include #include #include #define N 11 /* size of the array */ enum when {before, after}; typedef enum when when; int cmp(const void *vp, const void *vq); /* comparison fct */ void fill_array(double *a, int n); void prn_array(when val, double *a, int n);