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

Why is structure padding done in c?

0 Answers  


IS Doon college of Engn.. has good faculty

1 Answers  


What is wild pointer in c?

0 Answers  


application of static variables in real time

1 Answers   Bosch,


In the following control structure which is faster? 1.Switch 2.If-else and which consumes more memory?

4 Answers  






c pgm count no of lines , blanks, tabs in a para(File concept)

2 Answers  


How can I avoid the abort, retry, fail messages?

0 Answers  


What is clrscr ()?

0 Answers  


what type of questions arrive in interview over c programming?

0 Answers  


Explain what is page thrashing?

0 Answers  


If null and 0 are equivalent as null pointer constants, which should I use?

0 Answers  


how to execute a program using if else condition and the output should enter number and the number is odd only...

0 Answers  


Categories