#include int main() { int* ptr1 = new int(42); int* ptr2 = ptr1; delete ptr1; std::cout << "Wert bei " << ptr2 << " ist " << *ptr2 << std::endl; }