[doc] added example c example