In C++ placement new is used to construct an object at a particular memory location or to pass additional arguments to an allocation function.
Questions tagged [placement-new]
391 questions
-3
votes
1 answer
internal working of placement new?
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…

user2845185
- 79
- 1
- 1
- 8