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
the above answer is correct.
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
What is array of pointers to string?
Differentiate call by value and call by reference?
Between macros and functions,which is better to use and why?
what are the 10 different models of writing an addition program in C language?
Is there a way to compare two structure variables?
Why do we use main function?
#include
What is variables in c?
swap 2 numbers without using third variable?
What is a char in c?
Did c have any year 2000 problems?
What's a good way to check for "close enough" floating-point equality?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
What is 2 d array in c?
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above