Is there anyway to allocate memory dynamically according to the input?
For example if the user has to input his name e.g. in this case Omar
Iqbal Naru is inputted by the user. How to allocate memory dynamically
to store this name in a character array including the spaces?
For example if the user has to input his name e.g. in this case Omar
Iqbal Naru is inputted by the user. How to allocate memory dynamically
to store this name in a character array including the spaces?
Comment