Possible Duplicate:
What’s the “condition” in C interview question?
void main()
{
if(CONDITION)
printf("Hello ");
else
printf("World");
}
Replace CONDITION with such a condition that both the printf statements get executed.
You can’t have a loop or other things in main()
I found this code online,i am trying to think the logic behind it but i cant.
Please help me out
Thanks
This is a bit like cheating but…