When calling a parametric function, there is a data transfer relationship between the calling function and the called function.
查看答案
Variables defined within a function or a compound statement are internal variables, which are called local variables.
Among the function headers listed below, the correct one is ( ).
A. void play(var a:integer,var b:integer)
B. void play(int a,b)
C. void play(int a,int b)
D. sub play(a as integer,b as integer)
The formal parameter of a function is a global variable.
The type of return value of a function is determined by ( ).
A. Type of expression in return statement
B. Temporarily specified when a function is called
C. Function type specified when defining a function
D. The type of the calling function