You cannot use string in either switch or case .
Read moreIs string allowed in switch case in C?
Invalid switch expression switch(“string”) // string is not allowed .
Read moreYou cannot use string in either switch or case .
Read moreInvalid switch expression switch(“string”) // string is not allowed .
Read more