单选题
下列程序执行后的输出结果是( )。
void funcl(int i);
void func2(int i);
char st[]="hello,friend!”;
void funcl(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;funcl(i);
main()
int i=0;funcl(i);printf("/n");
A、
hello
B、
hel
C、
hol
D、
hlm
【正确答案】
C
【答案解析】
提交答案
关闭