In this assignment you are asked to write a multithreaded
program to find the duplicates in an array of 10 million
integers. The integers are between -5000,000 to 5000,000 and
are generated randomly. Use 10 threads, each thread works on
1000,000 integers. Compare the time needed to accomplish the
task with single thread of execution program. Do not include
the time to fill the array with integers in the execution
time.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What is structure padding and packing in c?

0 Answers  


WRITE A C PROGRAM FOR PRINT "RHOMBUS" STRUCTURE . Example: Enter the numbers :3 * * * * * * * *

3 Answers   Infosys, TCS,


c program to compute AREA under integral

0 Answers   Infosys,


what will be the output of this program? void main() { int a[]={5,10,15}; int i=0,num; num=a[++i] + ++i +(++i); printf("%d",num); }

6 Answers   Microsoft,


Is it fine to write void main () or main () in c?

0 Answers  


write a c program for print your name .but,your name may be small letter mean print a capital letter or your name may be capital letter mean print a small letter .example \\enter ur name : sankar The name is: SANKAR (or) enter your name:SAnkar The name is:saNKAR

3 Answers   IBM,


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

0 Answers  


Can we add pointers together?

0 Answers  


how to print this pyramid * * * * * * * * * * * * *

2 Answers  


How can I sort a linked list?

0 Answers  


Why do we need functions in c?

0 Answers  


Write a program or provide a pseudo code to flip the 2nd bit of the 32 bit number ! (Phone Screen)

1 Answers   NetApp, PTU, Wipro,


Categories