1 //输出10 和 9 2 #include3 #include 4 using namespace std; 5 6 int main() 7 { 8 char p[] = "12中国abc"; 9 int ans = sizeof(p);10 int len = strlen(p);11 cout< <<" "< <
本文共 244 字,大约阅读时间需要 1 分钟。
1 //输出10 和 9 2 #include3 #include 4 using namespace std; 5 6 int main() 7 { 8 char p[] = "12中国abc"; 9 int ans = sizeof(p);10 int len = strlen(p);11 cout< <<" "< <
转载地址:http://ehyel.baihongyu.com/