Switch statement with returns -- code correctness [closed] Switch statement with returns -- code correctness [closed] c c