Finished ex18.c with pointers to functions.