Merge branch 'master' of github.com:bregman-arie/devops-exercises
This commit is contained in:
@@ -4,12 +4,12 @@ Answer the questions given the following program (without running it):
|
||||
|
||||
```
|
||||
#include<stdio.h>
|
||||
|
||||
#include <unistd.h>
|
||||
int main()
|
||||
{
|
||||
fork();
|
||||
printf("\nyay\n");
|
||||
return 0;
|
||||
fork();
|
||||
printf("\nyay\n");
|
||||
return 0;
|
||||
}
|
||||
```
|
||||
|
||||
|
@@ -4,13 +4,14 @@ 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;
|
||||
fork();
|
||||
fork();
|
||||
printf("\nyay\n");
|
||||
return 0;
|
||||
}
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user