The following two functions F1 and F2 that share a variable X, Y with an initial value 10 execute concurrently.

F1()

{

Y = X – 5;

S = 5 × Y;

}

F2()

{

Y = 5 × X;

S = Y – 5;

}

Find the sum of the distinct values that S can possibly take after the execution?

Enter numerical value using the virtual keypad. Round off where necessary.

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation