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

GATE · 2015 · CS · Set 1 · Computer Science & IT

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 332 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…