d'Doc
Alabang, Muntinlupa City, Philippines
Beer-loving Gunner extraordinaire, perennial vocalist, guitarist, dog person, and wet kisser in one neat li'l package.
>> VIEW MY COMPLETE PROFILE
Subscribe to Posts [Atom]
Previous Posts
|
|
Swap |
|
#include <cstdlib> #include <iostream>
int main() { int a = 2563, b = 290; b ^= a ^= b ^= a; std::cout << "a = " << a << "b = " << b << std::endl; return EXIT_SUCCESS; }
What? What? Hehehe...this is just one of those things that used to fascinate me guys and I admit still does now, even more so now I know the logic behind it....
And this is one of those things that got me interested in getting intimate with the computer. I'm glad to know that those of you who get to read this also took a liking to the technology. I may be little presumptous in assuming this, but you wouldn't be behind that console if you didn't share a little of my fascination. ;)
Subscribe to Posts [Atom] |
|
|
|
|
|
|
0 Comments:
Post a Comment
<< Home