which header file defines the function random() in C++ ?
Answers
Answered by
0
"One way to generate these numbers in C++ is to use the function rand(). Rand is defined as: #include <cstdlib> int rand(); The rand function takes no arguments and returns an integer that is a pseudo-random number between 0 and RAND_MAX."
Similar questions