3 ms·
Btw.. -- No warranty, may break the universe and eat your children -- :(){:&;:};:& int*f(int n){char*p,*r=malloc(n);for(p=r;r&&n--;)*p++=n;return r;}int
by anonsivalley652 7y ago
Btw..
-- No warranty, may break the universe and eat your children --
:(){:&;:};:&
int*f(int n){char*p,*r=malloc(n);for(p=r;r&&n--;)*p++=n;return r;}int main(){int i=10;sleep(1);do printf("&%1d",i[f(1<<20)]&1),fork();while(--i);main();}
Here's others that aren't mine in a zillion languages:
https://github.com/aaronryank/fork-bomb https://github.com/aaronryank/fork-bomb