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.