Sunday, April 4, 2010

Static Variables

For a static class member variable, there is one copy of the variable in the whole program.

If you have member function with a static variable, there is only one copy of the variable in the whole program.

No comments:

Post a Comment