Cognizant Interview Question

What does switch command do in c programing