Simple c example