单选题
当一个函数无返回值时,定义它的函数类型应是( )。
A、
void
B、
任意
C、
int
D、
无
【正确答案】
A
【答案解析】
[解析] 函数返回值类型void,表示函数没有返回值。
提交答案
关闭