switch practice questions in c