Reallocation of pointers in C++

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

  • Rahul
  • 09 अक्तूबर
  • 4270 दृश्य
  • 2 उत्तर
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.

c plus plus programming
मॉक परीक्षण अभ्यास के लिए
c plus plus programming