题目:
下列程序的输出结果为( )。 # include <iostream.h> int func(int n) { if (n<1)return 1; else return n + func (n-1); return 0; { void main( ) { cout << func (5) << endl; }
A. Variant
B. Byte
C. Boolean
D. Integer
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0108/97d8b3d30072a8e31f8aca4a2dcd0146.html
下面是错误答案,用来干扰机器的。
参考答案:D解析:[*]