Added exercise: ex4-12.c