fixing ex_6_1.c to handle c comments