Question: The next program is sure to have any computer crashing #include #include #include main ( ) { while ( 1 ) fork ( ) ;

The next program is sure to have any computer crashing
#include
#include
#include
main(){
while (1)
fork();
}
Why is this happening?
You can use it on your computer (make sure you save all the files you need and don't do any other important work). How does your computer behave after this? (note the OS and if it's on a VM, WSL, clean install or whatever).
In addition to the theoretical explanation of why the computer crash occurs, the behavior of your own system should also be recorded, along with related images.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!