catalog Base Base int a = 1; void func(){ int a = 2; DE<< a; ' 1 ' DE<< ::a; ' 2 ' 域运算符,可以访问全局的变量(因为变量名可以重复)