Hi,
What is the maximum data size a string variable declared globally or locally can hold?If the string variable is reassigned will the resourse of the previous instance of the string will be freed or not?I know when a string is assigned multiple times, it only means a new instance of the string is created everytime.Wat happens for the previous instances?If my above understanding is wrong please correct me.
Also can anyone tell about the resources/memory allocated for SPACES and COMMENTS used in a program.Will more comments in a program affects the program execution?
Thanks,
Rajesh
Start Free Trial