单项选择题

var p = 200;
function test(){
alert(p);
p = 20;
alert(p);
}
test();
alert(p);弹出的结果是()

A.200,200,20
B.200,200,200
C.200,20,20
D.20200200