Code for C language