摘要: 1.下面的代码能通过编译吗?如果能,有什么潜在的问题? #include <stdio.h>void main(){ char* ptr = (char*)malloc(10); if(NULL == ptr){ printf("\n malloc failed\n"); return; }else 阅读全文
posted @ 2020-05-13 22:45 shengtudai 阅读(447) 评论(0) 推荐(0)