Wednesday, 21 August 2013

continue instead of return inside a function in C++`

continue instead of return inside a function in C++`

Does it make sense to use continue instead of return, while completing a
function in C++?
void function()
{
//do something;
continue; //instead of return
}

No comments:

Post a Comment