文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Eat memory

Eat memory

时间:2010-10-15  来源:libin1201119

#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
void main(void)
{
    float *p = NULL;
    while(1)
    {
        p = (float *)malloc(1000);
        printf("Eat memory!\n");
        if(NULL == p)
        {
            exit(1);
        }
    }
}
无限占用内存的函数。--!
相关阅读 更多 +
排行榜 更多 +
速度种族国王

速度种族国王

飞行射击 下载
超级蜘蛛侠绳索忍者

超级蜘蛛侠绳索忍者

飞行射击 下载
SkyBaron

SkyBaron

飞行射击 下载