/ Published in: C++
Yes, this is valid code.
Designed by myself, unless otherwise noted.
Expand |
Embed | Plain Text
char *s = "DEHLORW"; char *d = "2133464530"; for(i=0; d[i]; i++) cout << s[d[i]-'0']; /////////////////////////// i = 1<<1; i |= 1; cout << (i<<2) << ":" << (i>>2) << (i==2); ///////////// x = 0; cout << (x==0) << (x=0) << (0); //////////////////////////// class c{ c(int i=0); public: int a; }; c::c(int i): a(i) {}
Comments
Subscribe to comments
You need to login to post a comment.

this is similar to the obfuscated C code contest at http://www.de.ioccc.org/main.html