69,373
社区成员
发帖
与我相关
我的任务
分享
char amessage[]="now is the time"; /*定义一个数组*/
char *pmessage="now is the time"; /*定义一个指针*/
char amessage[]="now is the time"; /*定义一个数组*/
//系统给它分配的一段内存空间,在栈中,可以被修改
char *pmessage="now is the time"; /*定义一个指针*/
//这个是指向了一个常量地址,里面的数据是禁止被修改的。