13,825
社区成员
发帖
与我相关
我的任务
分享
#include <iostream>
#include <string.h>
using namespace std;
int main(){
char *p,*p1="hello world!";
cout<<p1<<endl;
p = p1;
cout<<p<<endl;
char *p_start = p;
cout<<p_start<<endl;
while((*(p++)=*(p1++))!=0);
cout<<p_start<<endl;
return 0;
}