English, asked by bhatiaaditi4235, 1 year ago

Difference between 'operator new' and the 'new' operator

Answers

Answered by sunny6629
0
The difference between the two is thatoperator new just allocates raw memory, nothing else. The new operator starts by using operator newto allocate memory, but then it invokes the constructor for the right type of object, so the result is a real live object created in that memory
hope its clear u
please marks it branelisr
Similar questions