sample C code listing