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 / rama krishna
First program is wrong ,randomize is undefined you just
check it.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How does free() know explain how much memory to release?
Write a program to print ASCII code for a given digit.
Explain how can I pad a string to a known length?
In a switch statement, explain what will happen if a break statement is omitted?
how to capitalise first letter of each word in a given string?
How is actual parameter different from the formal parameter?
What are logical errors and how does it differ from syntax errors?
What are conditional operators in C?
What is #line in c?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
What is an identifier?
Explain how do you convert strings to numbers in c?
WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER
What are the data types present in c?
Why do we use header files in c?