Skip to content

Instantly share code, notes, and snippets.

@mtauraso
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mtauraso/471071af544ec5a2e65a to your computer and use it in GitHub Desktop.
Save mtauraso/471071af544ec5a2e65a to your computer and use it in GitHub Desktop.
#include <iostream>
using namespace std;
struct A {
int an_integer;
float a_float;
};
int main (void) {
// Lets begin with a pointer to an integer
int * pointer_to_int = new int (3);
cout << &pointer_to_int;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment