#include <iostream>
int main(){
int a = 0;
int b = 1;
std::cout << "before: " << "a: " << a << ", " << "b: " << b << std::endl;
// magic in this
a = a + b;
b = a - b;
a = a - b;
std::cout << "after: " << "a: " << a << ", " << "b: " << b << std::endl;
return 0;
}
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.