struct _str_ { int a; struct _str_ *next; } *p; p=(struct _str_ *)malloc(sizeof(struct _str_)); p->a = 10; printf("1.a value is %d\n",p->a); free(p); printf("2.a value is %d\n",p->a); 输出的结果: 1.a value is 10; 2.a value is 10; 问题: <1>.当然,这时p是个野指针,free之后的,它指向垃圾数据,这个垃圾数据值可能是10,但为什么无论多少次运行程序,这个垃圾数据的值仍然都是10呢? <2>另外,...
There are more than 22,000 users on one free BSD 4.10. Nothing wrong with it as long as you know it well.
数据流走san,控制数据走lan 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/162/showart_64715.html