0
A counting semaphore is initialised to 10. After 6 wait (P) operations and 4 signal (V) operations have completed, what is its value?
- A4
- B10
- C8
- D12
Correct answer: C
A counting semaphore is initialised to 10. After 6 wait (P) operations and 4 signal (V) operations have completed, what is its value?