99c4e02ecf
Name it instead "topics" so it won't be strange if some topics included "exercises" directory.
291 B
291 B
Fork 101
Answer the questions given the following program (without running it):
#include<stdio.h>
#include <unistd.h>
int main()
{
fork();
fork();
printf("\nyay\n");
return 0;
}
- How many times the word "yay" will be printed?
- How many processes will be created?