Question:-
42. A counting semaphore was initialized to eight. Then four P (wait) operations and six V(signal) operations are performed on the semaphore.
What is the resulting value of the semaphore?
Option (A)
0
Option (B)
8
Option(C)
10
Option(D)
12
Correct Option:
()
question-answer-faq-2441