OMP Critical Output

c should be equal to 6