1. Hide a global variable defined as static. The global variable is only visible in the source file, so that global variables with the same name can be defined in different source files.
2. Persistence. If the variable defined in the function is static, the value of the variable is obtained every time the variable is called.
3. the initialization value is 0.
4. The static global variables defined in the module can be accessed by functions in the module, but cannot be accessed by functions outside the module.
5. The static function defined in the module can only be called by the function of the module.
6. Static variables in the class belong to the entire class, and only one copy of all objects can be created.
7. The static member function in the class belongs to the entire class. This function cannot accept the this pointer, so it can only accept static variables of the category.