Programming with Passion

Make the best out of everything.

Tuesday, 24 January 2017

IF and Else hack

Hello Everyone
In this post i'll be telling you a trick to print hello world using if and else statement both (both executing )
Just write like this.

if(printf("hello")==0)
printf("hello");
else printf("world");

And this should print hello world
Happy coding. :)

No comments:

Post a Comment