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 / kap
it is not the correct answer because the range they asked 0-
1000 so need to to %1000. :-)
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.
What are the key features in c programming language?
What is use of #include in c?
Explain b+ tree?
What is call by reference in functions?
How do I create a directory? How do I remove a directory (and its contents)?
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
Should I learn c before c++?
i have a written test for microland please give me test pattern
Why static variable is used in c?
number of times a digit is present in a number
In C programming, how do you insert quote characters (‘ and “) into the output screen?
What does & mean in scanf?
What is header file definition?
How can you call a function, given its name as a string?