C sample programs