当前位置: 答题翼 > 问答 > 求职面试 > 正文
目录: 标题| 题干| 答案| 搜索| 相关
问题

void Test(void){char *str = (char *) malloc(100); strcpy(str, “hello”); free(str); if


void Test(void){char *str = (char *)

malloc(100); strcpy(str, “hello”); free(str); if(str != NULL) { strcpy(str, “

world”); printf(str);}}请问运行 Test 函数会有什么样的结果?

参考答案
您可能感兴趣的试题
    暂无相关推荐