Picking random number between two points in C <p>I was wondering, is it possible to generate a random number between two limits in c. I.e. my program is set like this:</p> <pre><code>function x { generate random number; } while(1) { function x; delay } </code></pre> <p>so bascially I want a random number to be generated everytime the function is called , but the number has to be between, for example, 100 and 800</p> <p>I know there is a already made function called random and randmize in <code>stdlib.h</code> I just dont know how to create the upper and lower limits</p> <p>Thank you </p>