Reallocation of pointers in C++

Is it possible to use a 'new' for the reallocation of pointers?

  • Rahul
  • 09 Oct
  • 4239 Views
  • 2 Answers
Your Answer

The new operator denotes a request for memory allocation on the Heap. If sufficient memory is available, new operator initializes the memory and returns the address of the newly allocated and initialized memory to the pointer variable.

-1
c plus plus programming
Practice Mock Test
c plus plus programming