C program for practice