有以下程序: #include <iostream> #include <str
问题:
有以下程序:
#include <iostream>
#include <string>
usxng namespace std;
int main()
char p[] = "abcdefgh";
cout<<strlen(strcpy(p,"12345"))<<end1;
return 0;
执行后输出的结果是( )。
A.8
B.12
C.5
D.7
有以下程序:
#include <iostream>
#include <string>
usxng namespace std;
int main()
char p[] = "abcdefgh";
cout<<strlen(strcpy(p,"12345"))<<end1;
return 0;
执行后输出的结果是( )。
A.8
B.12
C.5
D.7