tpcall函数 为什么tp的count函数返回值是字符串类型?
为什么tp的count函数返回值是字符串类型?#include#include int count(s,c){int count=0 for(int i=0 i< strlen(s)i)if(s[
为什么tp的count函数返回值是字符串类型?
#include#include int count(s,c){int count=0 for(int i=0 i< strlen(s)i)if(s[i]==c)count return count}int main(){char*s=“welcome”char c=“e”printf(%s个%d个%cn”,s,count(s,c),c)返回0}