Consider the following code construct,
int n = 0; #pragma omp parallel for collapse(2) for (int i = 0; i < 3; i++) for(int j = 0; j < 3; j++)