switch statement in c example