Menu

[solved]-Need Help Using Threads C Add Column S Parallel Int Matrix R C Srand Time Null Int 0 R Int Q39078516

Need help using threads in C to add up each column that’sparallel.

———————————————-

int matrix[r][c];

srand(time(NULL));

for (int i = 0; i < r; i++) {
for (int j = 0; j < c; j++) {
matrix[i][j] = rand() % 10;

}
}

hwproblem says write a program that adds up each column in parallelusing threads. Im not quite sure what that means but hopefully itsenough.

Expert Answer


Answer to Need help using threads in C to add up each column that’s parallel. ———————————————- int m… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *