simple c example