srand(EXPR) srand EXPR Sets the random number seed for the rand operator. If EXPR is omitted, does srand(time).