Why header file is used in c?
No Answer is Posted For this Question
Be the First to Post Answer
Can you please explain the difference between malloc() and calloc() function?
Write a program of advanced Fibonacci series.
Explain the use of #pragma exit?
What is use of integral promotions in c?
Describe static function with its usage?
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
What are the types of data structures in c?
What is the significance of an algorithm to C programming?
How can we allocate array or structure bigger than 64kb?
main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); }
11 Answers CISOC, CitiGroup, College School Exams Tests,
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.