C/C++: static variables

static variable can only be initialized once. Compiler persist the variable till the end of the program. Eg: #include <iostream> int* a = NULL; void m
posted @ 2021-08-03 17:49  十步一杀2017  阅读(75)  评论(0编辑  收藏  举报