It's UWAweek 38 (2nd semester, week 8)

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 .
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.
Displaying selected article
Showing 1 of 1189 articles.
Currently -1 other people reading this forum.


 UWA week 34 (2nd semester, week 5) ↓
SVG not supported

Login to reply

👍?
helpful
1:30am Wed 26th Aug, ANONYMOUS

ANONYMOUS wrote:
> Does anyone know the answer to question 20 of mid sem? > I believe it's c. because the fork() function duplicates > twice resulting in 4 processes. But I'm uneasy with the overall > syntax. > Thank you!!
I don't have the question in front of me at the moment, but if I recall it was something like fork(); fork(); printf("hello world\n"); In this case, "hello world" will be printed 4 times, on 4 separate lines.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy