初始化R-1-11-2强制
禁止变量缺省初始化
变量初始化依赖系统缺省值
test.c
1int the_flag;禁止变量缺省初始化 [gjb8114-r-1-11-2]23void foo(void)4{5 static int the_state;禁止变量缺省初始化 [gjb8114-r-1-11-2]6}
变量显式初始化
test.c
1int the_flag = 0;23void foo(void)4{5 static int the_state = 0;6}