精选问答
vb程序解答 谁能给我解释这些语句的意思在应用程序中用“private function fun(x as integer,y as integer)”定义了fun函数。调用fun函数的过程中的变量i、j均定义为integer型,能正确引用fun函数的是( B )1.print fun i,j2.call fun(i,3.65)3.print fun(3.14,234)4.call fun(“245”,“231.5”) A.1、3B.2、3、4C.1、2、3D.1、2、3、4

2019-05-30

vb程序解答 谁能给我解释这些语句的意思
在应用程序中用“private function fun(x as integer,y as integer)”定义了fun函数。调用fun函数的过程中的变量i、j均定义为integer型,能正确引用fun函数的是( B )
1.print fun i,j
2.call fun(i,3.65)
3.print fun(3.14,234)
4.call fun(“245”,“231.5”)

A.1、3
B.2、3、4
C.1、2、3
D.1、2、3、4
优质解答
1.语法错误
2.中的3.65系统自动转换为整型4
3.同理2,3.14自动转换为整型3
4.系统自动把字符类型转换为数值型,即245,232。
1.语法错误
2.中的3.65系统自动转换为整型4
3.同理2,3.14自动转换为整型3
4.系统自动把字符类型转换为数值型,即245,232。
相关问答