Answers for "error: invalid type for iteration variable ‘i’ #pragma omp parallel for"

C
0

error: invalid type for iteration variable ‘i’ #pragma omp parallel for

for (int i=0; i<100; i++) { 
    double x=0.1*i; 
    sum += x*x; 
}
Posted by: Guest on March-20-2022

Code answers related to "error: invalid type for iteration variable ‘i’ #pragma omp parallel for"

Code answers related to "C"

Browse Popular Code Answers by Language