✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
1. char * str = "a";
switch (str)
{
case "a":; break;
default :;
}
2. enum day {sun, mon, thus};
day d = mon;
switch (d)
{
case sun:; break;
}
(C++)