My progg is calling a function from one case of a switch. Now in that function if a condition matches, I want to come out of the switch directly from the fn itself.
switch(x)
{
case 01:
-------
-------
fn();
------
--------
break;
-----
-----
}
fn()
{
------
-----
-----
if(condn)
{
exit from the switch
}
else
{
-----
}
-----
------
}