Hello
I was just wandering, if i have code like this.....
int main ()
{
/*declarations*/
if(xxx)
return 1;
else
p++
if (lllll)
return 0;
else
p++;
./ *similar coding to above */
.
.
.
.
retun 1;
}
Is that good programming practice? Or is there a way of not having multiple return points?
thanks