How to write a code for random pick from 1-1000 numbers?
The output should contain the 10 numbers from the range
1-1000 which should pick randomly, ie ,for each time we run
the code we should get different outputs.
Answer Posted / rama krishna
First program is wrong ,randomize is undefined you just
check it.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
Explain high-order and low-order bytes.
How is a macro different from a function?
How can I convert a number to a string?
What is the deal on sprintf_s return value?
What is the right way to use errno?
Is main is user defined function?
What is wrong with this statement? Myname = 'robin';
Where are c variables stored in memory?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
What is 2c dna?
What is the difference between the = symbol and == symbol?
Can you define which header file to include at compile time?
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9
What is the importance of c in your views?