The below Code is expected to just print 42 from both threads. Execute it and see what happens.
Find out why the code is behaving the way it is and fix the code using an OpenMP clause.
Hint: take a look at the documentation of the private clause.
DEFAULT OUTPUT NOT OVERWRITTEN- There has been an error with this exercise.