0
Two threads each execute the loop "for (i = 0; i < 100; i++) counter = counter + 1;" on a shared variable counter that is initially 0. The statement is compiled as load, add and store, and the threads are not synchronised. What is the minimum possible final value of counter?
- A2
- B1
- C100
- D0
Correct answer: A