/*
* A small demonstration of controlled
* overrun
*/
#include <iostream>

using namespace std;

int main(void) {
 char a = 'A';
 char b = 'B';
 int x = 42;
 int *ptr = &x;

 cout << (void*) &a << endl;
 cout << (void*) &b << endl;
 cout << &x << endl;
 ptr[0] = 58;
 ptr[1] = 0x48490000;
 cout << a << b << x << endl;

 return 0;
}