title: Implementation of random number generator
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1716308/how-does-a-random-number-generator-work">How does a random number generator work?</a>  </p>
  </blockquote>
  
  
  
  <p>I am looking for internal implementation of a random number generator in C/C++.Basically I am interested to know, what exactly happens when rand() is called. After all machine follows definite set of instructions, how can it be random!<br>
  Edit: Want to know how can I implement one in C/C++.</p>