下列程序执行后的输出结果是() voidfunc1(inti); voidfunc2(inti); charst[]="hello friend!"; voidfunc1(inti) {printf("%c" st[i]); if(i<3){i =2;func2(i);} } voidfunc2(inti) {printf("%c" st[i]); if(i<3){i =2;func1(i);} } main() {inti=0;fu

时间:2018-05-02 04:29:52 关键词:下列,程序,结果是

下列程序执行后的输出结果是()voidfunc1(inti);voidfunc2(inti);charst[]="hello,friend!";voidfunc1(inti){printf("%c",st[i]);if(i<3){i =2;func2(i);}}voidfunc2(inti){printf("%c",st[i]);if(i<3){i =2;func1(i);}}main(){inti=0;func1(i);printf("\n");}

A.hello

B.hel

C.hlo

D.hlm

答案解析

C