1 2 3 4 5 6 7 8 9 10
#include <iostream> int main(){ int *p = new int[3]; std::cout << *(p++) << std::endl; delete [] p; std::cout << "End." << std::endl; return 0; }
1 2 3 4
-1819044973 memory clobbered before allocated block Exited: ExitFailure 127