阅读下面代码,输出结果为()
int main()
{
char str1[] = "abc";
char str2[] = "abc";
const char str3[] = "abc";
const char str4[] = "abc";
const char *str5 = "abc";
const char *str6 = "abc";
cout
A true false true
B false true true
C false false false
D false false true
相关试题
-
阅读下面代码,输出结果为() int main() { char str1[] = abc; char str2[] = abc; const char str3[] = abc; const
-
e int streql(char *str1,char *str2) { while((*str1==*str2)&&(*str1)) { str1++;
-
有以下程序 #include void main( ) { char *p[10]={abc,aabdfg,dcdbe,abbd,cd}; cout
-
char
-
下面程序的输出结果是()。 #include #include main() { char *p1=abc,*p2=ABC,str[50]= xyz; strcpy(str+2,strcat(p1,p