有以下程序:#include <iostream>#include <string>using namespace std;int main (){ char s[]="
有以下程序: #include <iostream> #include <string> using namespace std; int main () { char s[]="\n123\\"; cout<<strlen (s) <<", "<<sizeof (s) <<end1; return 0; }
A.赋初值的字符串有错
B.6,7
C.5,6
D.6,6