Skip to content

Instantly share code, notes, and snippets.

@itsjohncs
Created January 18, 2013 19:27
Show Gist options
  • Save itsjohncs/4567571 to your computer and use it in GitHub Desktop.
Save itsjohncs/4567571 to your computer and use it in GitHub Desktop.
#include <iostream>
using namespace std;
int main() {
int a = 5;
int b = 10;
cout << "a: " << a << " b: " << b << endl;
a = b;
b = a;
cout << "a: " << a << " b: " << b << endl;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment