getrandmax

Show largest possible random value

Description

int getrandmax()

Returns the maximum value that can be returned by a call to rand.

Parameters

This function has no parameters.

Return Values

The largest possible random value returned by rand

See Also

  • rand
  • srand
  • mt_getrandmax