Coding Fun
By Madhur Kapoor on Apr 7, 2006 in General, Humour, Tech
Try this code on any older C++ compiler and see the result
#include
#include
main()
{
int a,b,c;
int count = 1;
for (b=c=10;a=
“- LLLLLL?, LMKC,XYZHELLO FOLKS,\
TFy!QJu ROo TNn(ROo)SLq SLq ULo+\
UHs UJq TNn*RPn/QPbEWS_JSWQAIJO^\
NBELPeHBFHT}TnALVlBLOFAkHFOuFETp\
HCStHAUFAgcEAelclcn^r^r\\tZvYxXy\
T|S~Pn SPm SOn TNn ULo0ULo#ULo-W\
Hq!WFs XDt!” [b+++21];)
for(; a- > 64 ; )
putchar ( ++c==’Z’ ? c = c/ 9:33^b&1);
getch();
}
Enjoy !!
No Older [Turbo] C++ Compiler Installed, but I think that there is a mistake in [b+++21].
Sandeep | Apr 8, 2006 | Reply
I dont think there is a mistake , it runs fins on Turbo C++ but not on Dev c++ and so .
Madhur Kapoor | Apr 8, 2006 | Reply
Ok, I will try by tommorrow and tell you…
Sandeep | Apr 8, 2006 | Reply
yeah the code is non standard now… btw, what does it do ?
I dunt have TC 
Qwerty Maniac | Apr 10, 2006 | Reply
It prints a map of india .
Madhur Kapoor | Apr 10, 2006 | Reply
Are those pointers?
Qwerty Maniac | Apr 14, 2006 | Reply
Na , i dont think so but i may be wrong .
Madhur Kapoor | Apr 14, 2006 | Reply