Sorting - Bubble Sort
void bubble(int a[], int n)
void order (int *, int *);
for (i = 0; i < n - 1; ++i)
for (j = n - 1; i < j; --j)
void order (int *p, int *q)
{temp = *p; *p = *q; *q = temp;}}
{ int i,a[] = {7,3,66,3,-5,22,-77,2};
bubble(a, 8); … /* print result */}