Hi All,
switch(i)
{
case 0: statement;
break;
case 1: statement;
switch(y)
{
case y1: statement; break;
}
break;
}
1.) If above is possible what is the MAX level of nesting ?
cool
This is a discussion on Nesting within the C Programming forums, part of the General Programming Boards category; Hi All, switch(i) { case 0: statement; break; case 1: statement; switch(y) { case y1: statement; break; } break; } ...
Hi All,
switch(i)
{
case 0: statement;
break;
case 1: statement;
switch(y)
{
case y1: statement; break;
}
break;
}
1.) If above is possible what is the MAX level of nesting ?
cool
>>1.) If above is possible what is the MAX level of nesting ?
At least 127, maybe more if the implementation supports it. But no one in their right mind would get anywhere close to that lower bound. And those in their left mind would get lynched in a heartbeat :-)
*Cela*