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
write a program to find the given number is prime or not
How can you return multiple values from a function?
What is pre-emptive data structure and explain it with example?
Write a program to print numbers from 1 to 100 without using loop in c?
What is meant by initialization and how we initialize a variable?
What are the types of macro formats?
how should functions be apportioned among source files?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
difference between Low, Middle, High Level languages in c ?
What is a macro?
Explain what is a program flowchart and explain how does it help in writing a program?
Difference between macros and inline functions? Can a function be forced as inline?
Are bit fields portable?
Do you know null pointer?
What is volatile variable in c with example?