( )能正确输出结果:C++。
A.char s[]="C++";cout<<s<<endl B.char s[3]="C++";cout<<s<<endl C.char s[3]={'C','+','+','\0'};cout<<s<<endl D.char s[3]={'C','+','+'};cout<<s<<endl正确答案A
( )能正确输出结果:C++。
A.char s[]="C++";cout<<s<<endl B.char s[3]="C++";cout<<s<<endl C.char s[3]={'C','+','+','\0'};cout<<s<<endl D.char s[3]={'C','+','+'};cout<<s<<endl正确答案A