Skip to content

Instantly share code, notes, and snippets.

@Rayer
Created March 13, 2015 18:36
Show Gist options
  • Save Rayer/321e06643c30c8d3b2cc to your computer and use it in GitHub Desktop.
Save Rayer/321e06643c30c8d3b2cc to your computer and use it in GitHub Desktop.
#include <iostream>
using namespace std;
int main(int argc, char *argv[]) {
int *i = 0;
i += 10;
cout << i << endl;
cout << *i << endl;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment