QuesHub > C++ > > operators > ASK DETAIL

What is the use of new and delete operator in C++ 2024?

Oliver Wilson | 2023-05-05 10:25:53 | page views:1311
I'll answer
Earn 20 gold coins for an accepted answer.20 Earn 20 gold coins for an accepted answer.
40more

Oliver Baker

Works at the International Criminal Court, Lives in The Hague, Netherlands.
C++ supports dynamic allocation and deallocation of objects using the new and delete operators. These operators allocate memory for objects from a pool called the free store. The new operator calls the special function operator new, and the delete operator calls the special function operator delete.
2023-05-13 10:25:53

Julian Davis

QuesHub.com delivers expert answers and knowledge to you.
C++ supports dynamic allocation and deallocation of objects using the new and delete operators. These operators allocate memory for objects from a pool called the free store. The new operator calls the special function operator new, and the delete operator calls the special function operator delete.
ask:3,asku:1,askr:137,askz:21,askd:152,RedisW:0askR:3,askD:0 mz:hit,askU:0,askT:0askA:4