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

What's the total generic pointer type?

615


How can I do graphics in c?

597


Can you define which header file to include at compile time?

589


we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above

637


What do you know about the use of bit field?

612






what is the diffrenet bettwen HTTP and internet protocol

1393


What does c mean before a date?

592


How can I manipulate individual bits?

608


How can a process change an environment variable in its caller?

656


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

1731


Without Computer networks, Computers will be half the use. Comment.

1877


What is the purpose of main( ) in c language?

623


Where is volatile variable stored?

652


code for find determinent of amatrix

1519


What is unary operator?

660