What I can think of is
X = !printf("Hello")
so the program becomes
Code:
void main()
{
if(!printf("Hello"))
{
printf("Hello");
}
else
{
printf(" World");
}
}
As printf returns no of characters it prints out so the output would become Hello World as desired