Program in c that will make the CPU run at 100%

来源:互联网 发布:大数据公司 英文 编辑:程序博客网 时间:2024/06/04 17:46
#include <stdio.h>#include <stdlib.h>int main (void) {    volatile unsigned x = 0, y = 1;    while (x++ || y++) {        ;/*Nothing to doing*/    }       return 0;}

0 0
原创粉丝点击