Computers and Technology

Consider the following code segment, howmany times “hello, world”would be printed, if every fork()call issuccessful. main(){ fork(); printf(“hello, world\n”); fork(); fork(); printf(“hello, world\n”); fork(); fork(); printf(“hello, world\n”); exit(0); }

answer
Answers: 3

Similar questions

Do you know the correct answer?
Consider the following code segment, howmany times “hello, world”would be printed, if every fork()ca...

Questions in other subjects:

Konu
English, 16.01.2020 20:31
Konu
Geography, 16.01.2020 20:31