If there are n processes executing concurrently using binary semaphore S , (n-1) processes have the code
do{
wait(S);
<c.s>
signal(s);
<r.s>}while(1);
the code for the n-th process i.e Pn is given by
do{
signal(S);
<c.s>
wait(S);
<r.s>}while(1);
a) What is the max no. of processes that can be there in the critical section simultaneosly ?
A. 2
B . 3
C. n-1
D. n