单选题:Consider the following code, how many “hello”s will be printed o
Consider the following code, how many “hello”s will be printed out?@[C](1)
```
#include
#include
main(){
int i;
for (i=1; i<4; i++)
fork();
printf("hello\n");
}
```
A. 2
B. 6
C. 8
D. 12
A.2
B.6
C.8
D.12
答案:C
```
#include
#include
main(){
int i;
for (i=1; i<4; i++)
fork();
printf("hello\n");
}
```
A. 2
B. 6
C. 8
D. 12
A.2
B.6
C.8
D.12
答案:C