单项选择题
程序输入2时,运行结果是()
A.-1 B.2 C.4 D.6
A.11 B.21 C.31 D.11,21,31
A.a,b,x,y四个变量都是局部变量 B.a,b,x,y四个变量都是全局变量 C.a,b变量是全局变量 D.x,y变量是全局变量