int getStrLength(char* str) {
    int i = 0;
    while (str[i] != '\0') {
        i++;
    }
    return i;

}

 

相关文章:

  • 2019-05-18
  • 2021-08-23
  • 2022-12-23
  • 2022-12-23
  • 2023-02-06
  • 2021-08-23
  • 2022-12-23
猜你喜欢
  • 2021-07-01
  • 2022-12-23
  • 2022-12-23
  • 2021-11-13
  • 2022-02-14
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案