How the folllowing for-loop will be applied to mutli-thread?
for (int i = 0; i < 5; i++) cout << i
for (int j = 5; j < 10; j++) cout << j