Question 12
Consider the following code snippet
Which of the following statements is correct?
The program creates three threads, each printing "Operating Systems" 50 times, and "Done" is printed only after all thread outputs are completed.
The program creates three threads, each printing "Operating Systems" 50 times, but "Done" may appear before some thread outputs.
The program creates one thread at a time due to pthread join, resulting in sequential execution.
The program prints "Operating Systems" exactly 50 times in total and then prints "Done".