From Insensitive Hedgehog, 10 Years ago, written in Plain Text.
Embed
  1. #include <iostream>
  2. #include <string>
  3. #include <sstream>
  4. using namespace std;
  5.  
  6. int main ()
  7. {
  8.     struct person {
  9.                 string name;
  10.                 int age;
  11.         };
  12.        
  13.         int a = 3;
  14.         int *p = &a;
  15.         cout << &a << endl << *p << endl;
  16.  
  17. }
  18.