主观

19. 以下程序的功能是计算字符串的长度。请填空。

#include<stdio.h>

  main()

  {char str[100],*sp=str;

    int nlen=0;

    scanf("%s",str);

    for(;*sp!='\0';sp++)______;

    printf("%d",nlen);

  }

参考答案
您可能感兴趣的试题
¥

订单号:

遇到问题请联系在线客服

订单号:

遇到问题请联系在线客服