new file:   ex2_4_1c.cpp