Explain the difference between 'operator new' and the 'new' operator?
Answers
Answered by
26
Hey!! ☺
Here is your answer
_______________________
Operator New :
class Foo
{
public:
void* operator new( size_t );
}
======
New Operator :
Foo* foo = new Foo();
_______________________
Thanks!! ✌
Similar questions
Hindi,
6 months ago
English,
6 months ago
History,
6 months ago
Computer Science,
1 year ago
English,
1 year ago
Social Sciences,
1 year ago