Added demo3.c