title: Rand function in c
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1026327/what-common-algorithms-are-used-for-cs-rand">What common algorithms are used for C&#39;s rand()?</a>  </p>
  </blockquote>
  
  
  
  <p>How is the rand function defined inside the c library. What is the time complexity of rand function. If someone can provide the source code for rand function(I don't need its implementation but the source code) it would be great. Thanx</p>