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

Execute and verify it once

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define Array of pointers.

631


Explain how do you use a pointer to a function?

636


Can main () be called recursively?

623


Explain what is the difference between functions abs() and fabs()?

613


What are the similarities between c and c++?

593






What is the function of multilevel pointer in c?

668


Explain what is meant by high-order and low-order bytes?

631


What is a keyword?

740


How can you check to see whether a symbol is defined?

585


What is c definition?

737


What is the benefit of using #define to declare a constant?

601


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

1462


What is #define used for in c?

609


what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555

2528


Describe dynamic data structure in c programming language?

599