Hi all,
If we compile the below piece of code, it gets compiled. But gives
weird result.
switch(x)
{
int y=2;
case 1:
printf("%d", y);
}
What, if any, the C standard says about it?
Srinu.
If we compile the below piece of code, it gets compiled. But gives
weird result.
switch(x)
{
int y=2;
case 1:
printf("%d", y);
}
What, if any, the C standard says about it?
Srinu.
Comment