![]() |
#2
newyj2008-11-08 20:45
|
#include<iostream.h>
#include<string.h>
void main()
{
char a[20],*str1="hello",*str2="wang";
cout<<str2;
}
为什么cout输出的不是str2所指向的字符串的地址?