C program to input and print text using Dynamic Memory Allocation.
In this program we will create memory for text string at run time using malloc() function, text string will be inputted by the user and displayed. Using free() function we will release the occupied memory.
Enter limit of the text: 100 Enter text: I am mike from California, I am computer geek. Inputted text is: I am mike from California, I am computer geek.need an explanation for this answer? contact us directly to get an explanation for this answer