Question: In the program below, how many processes and threads are being created? #include #include #include int main() { int i; for (i = 0;
In the program below, how many processes and threads are being created? #include #include #include int main() { int i; for (i = 0; i < 5; i++) { fork(); thread_create(&tid, NULL, hello, NULL); } return 0; } int hello (void * x) {}
Step by Step Solution
There are 3 Steps involved in it
In the given program theres a loop that iterates five times In... View full answer
Get step-by-step solutions from verified subject matter experts
