R
Rahul
Hi everyone,
I had allocated from memory for a character array using the new
operator in cpp. Now i want to increase this allocation dynamically,
realloc() works with memory allocated by malloc(), does it work with
memory allocated by new? If not, is there any operator that can do the
same in c plus plus?
Thanks in advance ! ! !
I had allocated from memory for a character array using the new
operator in cpp. Now i want to increase this allocation dynamically,
realloc() works with memory allocated by malloc(), does it work with
memory allocated by new? If not, is there any operator that can do the
same in c plus plus?
Thanks in advance ! ! !