Answer:
Output can be 0 or 1 or 2.
Explanation:
As we are initializing the value with 2 so at most it will increment to 2 times means value will be 2.
when main thread is printing the c , Increase thread might be started or might not be started
so output can be 0 or 1 or 2