Operating System

The output sequence consists of "C" more than once whereas in the code P(S) is used only and no V(S).Hence,C will get printed only once because irrespective of the value of semaphore S the Process will get blocked.

0Comment