adding c example 1