What does m stand for?
A switch only works for integers, so it can work for single characters.
But for strings of characters you need to use if/else if and strcmp.
What does m stand for?
A switch only works for integers, so it can work for single characters.
But for strings of characters you need to use if/else if and strcmp.
A little inaccuracy saves tons of explanation. - H.H. Munro