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 / abhradeep chatterjee
I am Sorry, I executed the Code and it does not work.
Thanks to Rama Krishna.
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What's the best way of making my program efficient?
What is the purpose of the statement: strcat (S2, S1)?
a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none
Why structure is used in c?
Is struct oop?
Describe the order of precedence with regards to operators in C.
What are the three constants used in c?
What are pragmas and what are they good for?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
What is the symbol indicated the c-preprocessor?
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc
How can I manipulate strings of multibyte characters?
How can I find out the size of a file, prior to reading it in?
what are the advantages of a macro over a function?
Is that possible to add pointers to each other?