摘要: // xxx.cpp : Defines the entry point for the console application.//#include "stdafx.h"#define mp printfint main(int argc, char* argv[]){ char * p1 = "12345"; //相当于【指针常量】:指向的是常量,12345不能修改。 char temp[5]; char * const p2 = temp; //【常量指针】:地址不能变,temp数组内容可以修改。 //*p1='\0'; //如果这 阅读全文
posted @ 2013-06-20 01:15 正月龙 阅读(149) 评论(0) 推荐(0) 编辑
留言板