In C or C++
if ( x )
statement1;
else
statement2;
For what value of x
will both statements be executed?
I know we can execute if-else
together like this:
if(1){
goto ELSE;
}
else{
ELSE:
}
Is there any way, like a value? (Which I think is not possible. Asking because someone is arguing!)
See Question&Answers more detail:os