15.6 — Static member variables
In the lesson , we introduced global variables, and in lesson , we introduced static local variables. Both of these types of variables have static duration, meaning they are created at the start of the program, and destroyed at the end of the program. Such variables keep their values even …