填空题 在下面函数的横线处填上适当的内容,使该函数能够利用递归方法求解字符串sb的长度(不得使用系统提供的字符串处理函数)。 int GetLen(char*str) { it({{U}} 【6】 {{/U}})return{{U}} 【7】 {{/U}}; else return 1+GetLen(str+1); }
  • 1、
【正确答案】 1、【6】*str=='/0'    
【答案解析】【7】0