摘要:
1,malloc动态内存存储#include #include #include //动态存储 int main(void) { int *p=NULL; int *tmp=NULL; int n; int ret; int count=0; while(1) { retry: printf("input num:"); ret=scanf("%d",&n); while(getchar()!='\n');//清空输入输出缓存区里面的东西 if(ret==0) ... 阅读全文