C program code