Advertisement

08.13.2008 at 12:35AM PDT, ID: 23643790 | Points: 125
[x]
Attachment Details

max size of string variable

Asked by lword in Microsoft Applications

Tags:

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,
RajeshStart Free Trial
[+][-]08.13.2008 at 03:49AM PDT, ID: 22220533

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628