摘要: #include <stdio.h> int cf(int a) { int c=1,s=1; for(c=1;c<=a;c++) s=s*10; return s; } int pdhw(int shu) { int c=shu,a=1,b,d; while(shu) { shu=shu/cf(a 阅读全文
posted @ 2022-05-02 21:17 myrj 阅读(817) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> main() { char s[]="ab\0cd"; int t=sizeof(s)/sizeof(s[0]); int m=strlen(s); printf("%d %d %s\n",m,t,s); getchar(); } 搜索 复制 阅读全文
posted @ 2022-05-02 15:37 myrj 阅读(67) 评论(0) 推荐(0) 编辑