modified:   ex1.c