摘要: #include <stdio.h>#include <stdlib.h>#define DG "%d\n"//字符串数组int main(){//长度问题============================ char arr[]= {"123"}; //定义的是一个字符串 char arr1[]= {'1','2','3'}; //一个字符数组//两者其实是有区别的//第一个相当于char arr[]={'1','2','3',& 阅读全文
posted @ 2013-03-17 21:26 cart55free99 阅读(280) 评论(0) 推荐(0) 编辑