July 2020
Beginner
301 pages
3h 36m
English
The static specifier says the object will have a static storage duration . The memory space for static objects is allocated when the program starts and deallocated when the program ends. Only one instance of a static object exists in the program. If a local variable is marked as static, the space for it is allocated the first time the program control encounters its definition and deallocated when the program exits.
Read now
Unlock full access