要想在过程Proc调用后返回形参x和Y的变化结果,下列定义语句中正确的是( )。【考点5过程调用与参数传递】A.Sub Proc(x as Integer,Y as Integer)B.Sub Proc(ByVal x as Integer,Y as Integer)C.Sub Proc(x as Integer,ByVal Y as Integer)D.Sub Proc(ByVal x as Integer,ByVal Y as Integer)

要想在过程Proc调用后返回形参x和Y的变化结果,下列定义语句中正确的是( )。【考点5过程调用与参数传递】

A.Sub Proc(x as Integer,Y as Integer)

B.Sub Proc(ByVal x as Integer,Y as Integer)

C.Sub Proc(x as Integer,ByVal Y as Integer)

D.Sub Proc(ByVal x as Integer,ByVal Y as Integer)


相关考题:

( 27 )要想在过程 Proc 调用后返回形参 x 和 Y 的变化结果,下列定义语句中正确的是A ) Sub Proc ( x as Integer,y as Integer )B ) Sub Proc ( ByVal x as Integer, y as Integer )C ) Sub Proc ( x as Integer,Byval y as Integer )D ) Sub Proc ( Byval x as Integer, Byval y as Integer )

要想在过程Proc调用后返回形参x和y的变化结果,下列定义语句中正确的是______。A.Sub Proc(x as Integer, y as Integer)B.Sub Proc(By Val x as Integer, y as Integer)C.Sub Proc(x as Integer, By Val y as Integer)D.Sub Proc(By Val x as Integer, By Val y as Integer)

若要在子过程Procl调用后返回两个变量的结果,下列过程定义语句中有效的是( )。【考点5过程调用与参数传递】A.Sub Procl(n,m)B.Sub Procl(ByVal n,m)C.Sub Procl(n,BYVal m)D.Sub Procl(ByVal n,ByVal m)

在过程定义中有语句: Private Sub GetData(ByVal data As Integer)其中“ByVal”的含义是( )。【考点5过程调用与参数传递】A.传值调用B.传址调用C.形式参数D.实际参数

若要在子过程Proc1调用后返回两个变量的结果,下列过程定义语句中有效的是( )。A.Sub Proc1(n,m)B.Sub Proc1(ByVal n,m)C.Sub Proc1(n,ByVal m)D.Sub Proc1(ByVal n,ByVal m)

设PROC是带有x,y两个参数的SUB过程,试指出在下列的过程调用中哪些写法是错误的:()ACALL MYPROC X,YBCALL MYPROC(X,Y)CMYPROC  X,YDMYPROC(X,Y)

要从子过程调用后返回两个结果,下列关于Sub过程语句定义正确的是()。A.Sub f(ByVal n%, ByVal m%)B.Sub f(n%, ByVal m%)C.Sub f(ByVal n%, m%)D.Sub f(n%, m%)

要从子过程调用后返回两个结果,下列关于Sub过程语句定义正确的是()。A.Sub f(ByVal n%, m%)B.Sub f(n%, m%)C.Sub f(ByVal n%, ByVal m%)D.Sub f(n%, ByVal m%)

要想从子过程调用后返回两个参数的值,下面子过程语句满足要求的是__________。A.Sub proc(x%,Byval y%)B.Sub proc(ByVal x%,Byval y%)C.Sub proc(x%,y%)D.Sub proc(Byval x%,y%)