指針習題8(答案版)

鏈接 題目及樓主的方法 答案的代碼 #include<stdio.h> int main() {int upper=0,lower=0,digit=0,space=0,other=0,i=0; char *p,s[20]; printf("input string: "); while((s[i]=getchar())!='\n') {i++;} p=&s[0]; while(*p!=
相關文章
相關標籤/搜索