A static member is used to declare the global data which should be updated while the program lives in memory. In C++, static is a keyword or modifier that belongs to the type not instance. A static function can have an access to only other static members (functions or variables) declared in same class. A static member is created and initialize once and shared among all class objects.
-
Notifications
You must be signed in to change notification settings - Fork 0
A static member is used to declare the global data which should be updated while the program lives in memory.
License
bhargaviajaypatel/CPP_Static_Member_Function
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A static member is used to declare the global data which should be updated while the program lives in memory.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published