##### Gate1998_1.31

A counting semaphore was initialized to 10. Then 6 P (wait) operations and 4V (signal) operations were completed on this semaphore. The resulting value of the semaphore is
(a) 0

(b) 8

(c) 10

(d) 12