Merge branch 'master' of github.com:bregman-arie/devops-exercises
This commit is contained in:
commit
8a510bb304
4 files changed
+40
-10
No files matched your search
@@ -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