Q. When compiling an OpenMP program with gcc, what flag must be included? (Solved)

1. -fopenmp

2. #pragma omp parallel

3. –o hello

4. ./openmp

  • a. -fopenmp
Subscribe Now

Get All Updates & News