标记变量是否有用static,当它位于.cpp文件的全局范围内时,不在函数中?
static
你也可以将static关键字用于函数吗?如果是的话,它们的用途是什么?
c++ static global global-variables static-variables
c++ ×1
global ×1
global-variables ×1
static ×1
static-variables ×1