填空题
在下面函数的横线处填上适当的内容,使该函数能够利用递归方法求解字符串str的长度 (不得使用系统提供的字符串处理函数)。
int GJetLen(char*str)
if(
【8】
) return 0;
else return 1+GetLen (str+1);
1、
【正确答案】
1、*str==NULL
【答案解析】
提交答案
关闭