阅读背景:

在C中访问大于UINT_MAX * 4大小的内存?

来源:互联网 

Assume if I have an array of size 78719476736 bytes. mind you that this array is dynamically allocated using malloc in my C code. Assume malloc returns a valid pointer after allocating this much memory. The size of this array is more than UINT_MAX(4294967295) , i.e. max limit of a unsigned int(32 bits)Assume if I have an array of size 78719476736 b




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: