A-A+
下列程序执行后的输出结果是______。A.helloB.helC.hloD.hlm voi
问题详情
下列程序执行后的输出结果是______。
A.hello
B.hel
C.hlo
D.hlm void func1 (int i); void func2 (int i); char st[]="hello,friend!"; void func1(int i) { printf("%c",st[i]); if(i<3){ i+=2;func2(i); } } void func2 (int i) { printf("%c",st[i]); if(i<3){ i+=2;func1(i); } } main() { int i=0;func1(i);printf("n");}请帮忙给出正确答案和分析,谢谢!
参考答案
正确答案:C