+ 1
Can anyone explain how this code is running
#include <stdio.h> int main() { fork(); fork() && fork() || fork(); fork(); printf("hi"); return 0; } And how HI is printing 20 times ? https://code.sololearn.com/c2kACp1nnw31/?ref=app
2 odpowiedzi
+ 1
Very_Hard(asm & js & c++ & java & py & (@Hard)) I traced that thanks for your time here is the reasons
https://www.sololearn.com/post/170233/?ref=app
0
doesnt seem to work for me.