In linux they are picked up from /dev/random which is a pseudo device generating random numbers on the basis of noise produced by the movements of the mouse/touchpad...(So coool....:)) check out *cat /dev/random*
On Mon, Dec 5, 2011 at 9:28 PM, Prakash <[email protected]> wrote: > Anyone please explain how rand() function is defined and how it > works? > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- Saurabh Singh B.Tech (Computer Science) MNNIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
