蔡諝的窝

博客园 首页 新随笔 联系 订阅 管理

2013年1月23日 #

摘要: 1)实验代码:#include <stdio.h>int main(){ int a[3]={1,2}; for(int i = 0; i < 3; i++) { printf("%d\n",a[i]); } return 0;}2) 实验结果:120请按任意键继续. . .3)思考:int a[3]={1,2};没有对全部数组元素进行初始化,编译却没报错 阅读全文
posted @ 2013-01-23 12:08 蔡諝 阅读(224) 评论(2) 推荐(0)