practicing C code