Coding Fun



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 !!

7 Comments

  1. Sandeep says:

    No Older [Turbo] C++ Compiler Installed, but I think that there is a mistake in [b+++21].

  2. I dont think there is a mistake , it runs fins on Turbo C++ but not on Dev c++ and so .

  3. Sandeep says:

    Ok, I will try by tommorrow and tell you…

  4. yeah the code is non standard now… btw, what does it do ? 😀 I dunt have TC 🙁

  5. It prints a map of india .

  6. Are those pointers?

  7. Na , i dont think so but i may be wrong .