#include <iostream>
using namespace std;

class funky {
	int x;
public:
    funky() : x(42) { cout << "new@" << this << endl; }
    ~funky() { cout << "delete@" << this << endl; }
};

int main() {
	funky *funkies = new funky[99];
	cout << "ok, now let's delete" << endl;
	delete funkies;
	cout << "deleted wrongly" << endl;
	return 0;
}