added exmaple3-4.c