sample c codes