Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

1153


Are the variables argc and argv are local to main?

1364


How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

1175


How do you print only part of a string?

1073


can anyone suggest some site name..where i can get some good data structure puzzles???

2162


Why main is not a keyword in c?

1325


Explain what is the difference between null and nul?

1217


What is a structure member in c?

1056


How can I write functions that take a variable number of arguments?

1193


What was noalias and what ever happened to it?

1100


Dont ansi function prototypes render lint obsolete?

1202


How can a string be converted to a number?

1070


What is the difference between printf and scanf in c?

1433


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1740


What are variables and it what way is it different from constants?

1289