Cognizant Interview Question

Question on C example of Switch case