Is there an advantage to having an ‘else’ following a block
which ends with a ‘return’ or is it simply out of habit
int foo (int a)
{
if(a==0)
{
return false;
}
else
if(a==1)
{
return true;
}
else
{
}
return -1;
}
just curious
2