![]() |
#2
禾今2007-11-04 01:50
|
#include <iostream.h>
void main()
{char s[]=”hello”;
s[0]=’a’
cout<<s[0]<<endl;
char *p=”hello”;
p[0]=’a’;
cout<<p[0]<<endl;}
字符指针与字符数组的关系.搞不明白呢 找高手帮我.