what happen when if-else both condition execu

August 26, 2011 at 05:17:56
Specs: Windows 7
if(condition)
{
printf("hello");
}
else
{
printf("world");
}
when both are executed

See More: what happen when if-else both condition execu

Report •

#1
August 26, 2011 at 06:55:12
In a properly constructed If/Then statement both conditions will never execute because the If condition can never be both True and False at the same time. Illogical as Mr Spock would say..

Stuart


Report •
Related Solutions


Ask Question