static 修饰局部变量


{

static int a = 10; //初始化 a为10 只能初始化一次在整个进程中,这么使用一般作为被调用的函数
static int b; //初始化 b为0

}