char gstrA[] = "this Str is stored at global Store Erea"; //存放于静态数据区
int main(int argc, char **argv)
{
char a[] = "this Str is stored in Stack"; // 存放于栈
*a = 'a';
char *b = "this str is stored in Const Data Store Erea"; // c存放于常量存储区
// *b = 'b'; // 错误,无法更改存放于常量存储区的常量字符串
*gstrA = 'c';
char *d = new char[15]; // 存放于堆
*d = 'd';
system("pause");
delete []d;
return 0;
}