closed by
188 views
0 votes
0 votes
closed as a duplicate of: Process Synchronisation
Consider the following program:
Const int n= 20
int Count= 0
Void GATE( )
{
int i; for(i= 1 to n)
Count= Count + 1;
}
Main ( )
{
Par begin
GATE( );
GATE( );
GATE( );
Par end
}
What is the minimum and maximum possible value of
count after the completion of the program?

A. 20, 40
B. 2, 60.
C. 3, 30
D. 20,60
closed by

No related questions found