answersLogoWhite

0


Best Answer

Use rand() which returns any random number

To be more precise , use random(a) which returns any number from 0 to a-1

For compiling the program again and again , use

randomize() so that every time it takes different random numbers.

It may be rand <-> random

Check it out...

User Avatar

Wiki User

16y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you create stream of random number using c language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How does water create stream valley?

The Velocity


What is stream of conscious in mrs dalloway?

stream of consciousness is a literary technique where the text consists of the character's unbroken stream of thought as if you were actually in their head. The character often jumps from one subject to another at random.


What is the phone number of the Carol Stream Public Library in Carol Stream?

The phone number of the Carol Stream Public Library is: 630-653-0755.


What are Gulf Stream rings are caused by?

The Gulf Stream ring is formed when Gulf Stream meanders break off the Stream to create independent circulatory systems. Because of the formation of this ring, the warm tropical water from south of the Gulf Stream can be moved to north of the Gulf Stream.


What is the phone number of the Valley Stream Historical Society in Valley Stream New York?

The phone number of the Valley Stream Historical Society is: 516-872-4159.


What is a landform a stream can create over many years?

canyons and vallys


What is fwrite function in c language?

writes data to a FILE* stream.


What is mean by stream in file?

A stream is how a program reads to and writes from a file. When a program needs to create or edit a file, it opens up a "stream" to the file, "streams" the intended data to the file, and then saves it before closing the stream.


What is the phone number of the Cold Stream Branch in Cold Spring?

The phone number of the Cold Stream Branch is: 859-781-6166.


What is a sentence with the word subtitle?

Each subtitle stream can be assigned a different language.


What pseudo-random block stream is generated by 64-bit OFB with a weak DES key?

With (OFB) output feed back, a random 64-bit number, known as the IV is encrypted with the weak secret key to create the one-time pad. A weak DES secret key is one which is either all 1's, 0's or alternating ones and zeros. The plain text is XOred with as many bits of the generated one-time pad. If a weak key patterns will emerge in the ciphertext. - Eric Appelboom


How can you create the fast air stream in a trumpet?

Blow hard, and take good breaths.