锘??xml version="1.0" encoding="utf-8" standalone="yes"?>
]]>
]]>
#include "stdafx.h"
2
#include <iostream>
3
using namespace std;
4
5
int main()
6

{
7
char* pch = "aaa";
8
pch[2] = 'b';
9
cout<<pch<<endl;
10
return 0;
11
}
char str[] = "aaa";
char* pch = str;
pch[2] = 'b';
cout<<pch<<endl;
]]>
闈欐佸彉閲忓拰鍏ㄥ眬鍙橀噺鍚屾椂鍏峰榪欎竴灞炴с傚湪闈欐佸瓨鍌ㄥ尯錛屾墍鏈夌殑瀛楄妭榛樿鍊奸兘鏄?x00銆?br>http://tech.sina.com.cn/roll/2008-12-28/0933936834.shtml
]]>