switch statement accepts in c