题目内容

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

If a function can only be called by other functions in this file, it is called an internal function.

int a, b; void fun() {a=100; b=200; } main() { int a=5, b=7; fun(); printf("%d%d\n", a,b); } output of the program is ( ).

A. 100200
B. 57
C. 200100
D. 75

答案查题题库