摘要: #include <stdio.h>int main(){int a[4]={1,2,3,4};char b[4]="5678";char *c="9999";int d[4]={5,6,7,8};//a={5,6,7,8};//不能整体赋值//a=&d;//不能整体赋值a[3]=5;b[3]='4';//c[3]='7';//gcc编译无错,运行时段错误} 阅读全文
posted @ 2012-08-25 10:17 aitao 阅读(798) 评论(0) 推荐(0) 编辑