#include
void main()
{
char myChar = 'X';
switch(myChar) {
default : printf("no choice ");
case 'A' : printf("choice A");
}
}
1
no choice
2
no choice choice A
3
choice A no choice
4
compilation error
#include
void main()
{
char myChar = 'X';
switch(myChar) {
default : printf("no choice ");
case 'A' : printf("choice A");
}
}