C code program added