C example on Terminal.