#include #include void main() { int id, nthreads; #pragma omp parallel private(id) shared(nthreads) { id = omp_get_thread_num(); nthreads = omp_get_num_threads(); printf("HelloWorld! %d of %d\n", id, nthreads); } }