#include <stdio.h>
int main()
{
int a=10;
int b=20;
switch(a)
{
case 10:
printf("outer switch \n");
switch(b)
{
case 20:
printf("inner switch \n");
}
}
printf("value of a : %d \n",a);
printf("value of b : %d \n",b);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: