This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

前面使用calloc分配地址时可以,但程序后面几个使用calloc分配地址时得到的地址是0x00000000



在6678平台运行一个程序,程序中有一个for循环,循环32次,循环中有calloc动态分配地址,当程序循环到第17个时,calloc分配的地址就是0x00000000,程序后面再用calloc分配地址是都是0x00000000!请问大神们遇到这种情况吗?