What is the output of following code?
#include <stdio.h>
#include <unistd.h>
int main()
{
if (fork() && (!fork())) {
if (fork() || fork()) {
fork();
}
}
printf("2 ");
return 0;
}
What is the output of following code?
#include <stdio.h>
#include <unistd.h>
int main()
{
if (fork() && (!fork())) {
if (fork() || fork()) {
fork();
}
}
printf("2 ");
return 0;
}
* השאלה נוספה בתאריך: 20-07-2020