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
English,
6 months ago
Art,
6 months ago
Social Sciences,
6 months ago
Math,
11 months ago
India Languages,
1 year ago
Math,
1 year ago
Science,
1 year ago