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 / umesh koodali
So anybody know the right answer?
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
What is the use of sizeof () in c?
Is malloc memset faster than calloc?
What is the benefit of using const for declaring constants?
What is a macro in c preprocessor?
Explain what happens if you free a pointer twice?
Write a program to use switch statement.
What is structure padding and packing in c?
How do I create a directory? How do I remove a directory (and its contents)?
plz let me know how to become a telecom protocol tester. thank you.
Is anything faster than c?
What does the format %10.2 mean when included in a printf statement?
What is a macro?
What is linear search?