how can i make a program with this kind of output..
Enter a number: 5
0
01
012
0123
01234
012345
01234
0123
012
01
0
Answer Posted / vignesh1988i
A SMALL chnge in the above program... in first for loop 'n'
must be changed as 'm'
| Is This Answer Correct ? | 5 Yes | 2 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.
Why c is called top down?
Explain how can I right-justify a string?
How do c compilers work?
Explain can the sizeof operator be used to tell the size of an array passed to a function?
What is the difference between break and continue?
Write a C program in Fibonacci series.
Is this program statement valid? INT = 10.50;
Is it valid to address one element beyond the end of an array?
Explain what is the difference between a string and an array?
Write a c program to demonstrate character and string constants?
Is null valid for pointers to functions?
What functions are in conio h?
Can you return null in c?
When we use void main and int main?