If in a multi user system a static variable is initialized as 10 and first user increments its value by 1 and then the second user increments its value by one. What is the value of the variable now?

Questions by mithila

Showing Answers 1 - 2 of 2 Answers

sapveens

  • Sep 26th, 2005
 

12

  Was this answer useful?  Yes

vidhya

  • Nov 8th, 2005
 

the answer is 10 bcz. memmory created for static variable at one time.so while creation the value is intialized with 10 so it remains constant for multi user also.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions