I started C++ recently and while learning switch case, I got this doubt. What\'s the difference if I use int or char in the following code : int Fav_Car;
int Fav_Car;
because '1' is a char and 1 is an integer. If you want to make integers work , remove the single quotes. Using double quotes makes it a string.