摘要: 为了偏于叙述,我将遇到问题的源代码进行了简化,只保留了出现问题的根本语句。给出代码:#include <stdio.h>#include <stdlib.h>#define N 100struct A{int a[N];};int main(){struct A* p;p = (struct A*)malloc(sizeof(struct A*));for (unsigned int i = 0;i < N; ++i){p->a[i] = i;}for (i = 0;i < N; ++i){printf("%d\t",p->a 阅读全文
posted @ 2013-01-19 00:08 Ash_boy 阅读(743) 评论(0) 推荐(0) 编辑