What is the output of the given C code?
int main()
{
bool i;
if(i) switch(i++) // Line 1
{
default : printf("No Value");
case 0 : printf("\\ni is 0");
case 1 : printf("\\ni is 1");
case 2 : printf("\\ni is 2");
}
}
Reveal answer
Fill a bubble to check yourself