test c code