Quantcast
Channel: C6000™多核 - 最近的话题
Viewing all articles
Browse latest Browse all 5545

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

$
0
0

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


Viewing all articles
Browse latest Browse all 5545

Trending Articles