#include #include typedef char *Item; #define key(A) (A) #define lt(A, B) (strcmp(key(A), key(B)) < 0) #define le(A, B) (strcmp(key(A), key(B)) <= 0) #define ge(A, B) (strcmp(key(A), key(B)) >= 0) #define gt(A, B) (strcmp(key(A), key(B)) > 0) void swap(Item a[], int i, int j) { Item temp = a[i]; a[i] = a[j]; a[j] = temp; } void sort(Item a[], int lo, int hi) { return; } int main(void) { Item a[] = {"banana", "apple", "pear", "orange"}; int n = sizeof(a) / sizeof(a[0]); sort(a, 0, n-1); for (int i = 0; i < n; i++) { printf("%s ", a[i]); } printf("\n"); return 0; }