当前位置: 代码迷 >> 综合 >> 字符数组的实际长度
  详细解决方案

字符数组的实际长度

热度:9   发布时间:2023-10-26 22:43:17.0

char s[100];

scanf("%s",&s);

int length=strlen(s);

  相关解决方案