In one interview I was asked that
Suppose you have 25 MB of memory and you have three processes of 10 MB each. How to assure that your process should not run out of memory ?
I replied that if I use placement new
it will survive. They asked me how you relate placement new
to realloc
?
I want to know is placement new
really related to realloc
?