Store character string in a block of memory space
How can I store a character string in a block of memory space which is created by malloc and then modify the same to store a large string? Can it remain the same while storing the original contents of the buffer even after modifying the original size?








