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

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


Please Help Members By Posting Answers For Below Questions

Write a program to know whether the input number is an armstrong number.

1069


write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

2812


How do you sort filenames in a directory?

1121


What are the three constants used in c?

925


Can we change the value of static variable in c?

969


What is the difference between struct and typedef struct in c?

1080


What is the purpose of void in c?

989


Write a simple code fragment that will check if a number is positive or negative.

1094


Explain the ternary tree?

961


Write a function that will take in a phone number and output all possible alphabetical combinations

997


List out few of the applications that make use of Multilinked Structures?

2106


How do I create a directory? How do I remove a directory (and its contents)?

1088


What should malloc() do? Return a null pointer or a pointer to 0 bytes?

1011


all c language question

2374


can we have joblib in a proc ?

2225