int n=1;
while(1)
{
switch(n)
{
case 1:printf("a");
n++;
continue;
case 2:printf("b");
n++;
continue;
default : printf("c");
break;
}
break;
}
How can I discover how many arguments a function was actually called with?
Is it possible to create recycle bin in mobiles?
Why clrscr is used after variable declaration?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
Explain b+ tree?
How do you write a program which produces its own source code as its output?
What is the collection of communication lines and routers called?
What is multidimensional arrays
What is sizeof return in c?
Differentiate between full, complete & perfect binary trees.
What is the scope of global variable in c?
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.