1.c++中static int a,其中a的作用域是local的,即当前文档。 2.c++中const int a=10;其中a的作用域是local的,即当前文档,extern const int a=10,的作用域是全局的。