Add ex4.c