how many times does the loop iterated ?
for (i=0;i=10;i+=2)
printf("Hi\n");
Answer Posted / guest
Infinite
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
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.
How can you find out how much memory is available?
Tell me about low level programming languages.
What are volatile variables in c?
What are local static variables?
What is use of pointer?
Can a file other than a .h file be included with #include?
Explain the bubble sort algorithm.
Explain the use of function toupper() with and example code?
How can I get random integers in a certain range?
What is a stream?
Explain c preprocessor?
What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?
write a program to find the given number is prime or not
What is the difference between a function and a method in c?