2013年3月4日
摘要: 请在(且只能在TC2.0)中运行下面代码,先不要看结果,想想会得到什么: #include<stdio.h> #include<stdlib.h> int main( int argn, char* argv[] ) { char* szStringA = "Hello,world!"; char* szStringB = "Hello,world!"; *szStringA = '-'; puts( szStringB ); return 0; } 输出结果是:"-ello,world!";。 阅读全文
posted @ 2013-03-04 08:51 tracymdy 阅读(161) 评论(0) 推荐(0) 编辑