摘要: C正确初始化方式无论是int 还是 char 初始化方式都是一样(指定初始值或者用指针指向所开辟的内存)int num[] = {1,22,333}; int *p = num; int *num2 = new int[3]; char c[] = {'aaa','a'}; char *cp = c... 阅读全文
posted @ 2014-12-02 19:41 mynona 阅读(551) 评论(0) 推荐(0) 编辑