Question: Write C code to do the following hagbahoo hagbahoo hagbahoo hagbahoo haqba 1. Create an array of 100 random integers, where each integer is within

Write C code to do the following hagbahoo hagbahoo hagbahoo hagbahoo haqba 1. Create an array of 100 random integers, where each integer is within the range (1, 1000) 2. Create 4 threads and assign to add all elements of the array in parallel (hint: tho adds A[0] to A[24], thi adds A[25] to A[49] etc) hagbahoo hagbahoo hagbahoo hagbahoo hagbahoo haqba 3. Finally Main prints the sum and exit the code. hagbahoo hagbahoo hagbahoo Upload C codes (text file) and terminal screen shot for this Lab
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
