In this program, We are giving a location to two variables in the program, So it is arising an exception. Output: $ g++ free3.cpp $ a.out X::operator new(size_t) X::operator new(size_t, 0) X::operator new(size_t, 1) X::operator new(size_t, 2) 10000 10001 10002 X::operator new(size_t, 0) Error: buffer location occupied
Submit Your Solution hear: