how can i increase the size of a dynamic array even though i dont know what its end size will be.
i try to use realloc and new but both seems didnt work on string.
what was i trying to do is given a string "HELLO"...place it in array = "HELLO".
and the size of the array keeps on increasing if the user gives input.
any help would be appreciated.