C language practice