Junior — Senior
How static changes the properties of a global variable
livecode
Task condition
Describe what changes will occur in the scope and lifetime of a global variable if the keyword static is added to its declaration.
# include <iostream>
int gVar; // add static and analyze the impact
Explain how the variable's linkage with other translation units and its period of existence in the program will change.