单项选择题

标准模块中有如下程序代码:   Public x As Integer,y As Integer   Sub var pub()    x=10:y=20   End Sub   在窗体上有1个命令按钮,并有如事件过程:   Private Sub Command1 Click()   Dim x As Integer   Call var pub   x=x+100   y=y+100   Print x;y   End Sub   运行程序后单击命令按钮,窗体上显示的是( )。

A.100 100
B.100 120
C.110 100
D.110 120