The following two functions P1 and P2 that share a variable B with an initial…

PYQ GATE 2015

The following two functions P1 and P2 that share a variable B with an initial value of 2 execute concurrently.

image.png

The number of distinct values that B can possibly take after the execution is

Attempted by 376 students.

Sign up free to check your answer

Sign up free

Explore the full course: Operating System

Loading lesson…