Home > Electronics Tutorials > C Language Tutorial > stdlib.h - Math Functions - rand

C Language Programming Library Reference Guide

stdlib.h - Math Functions - rand

Declaration: int rand(void); Returns a pseudo-random number in the range of 0 to RAND_MAX.

The random number is returned.

Note: To report broken links or to submit your projects, tutorials please email to Webmaster