Answer :

Answer:

cstdlib              

Explanation:

            In programming language as in C or C++, the function rand() is used to generate a list random numbers. It we want to generate the sequence of random numbers with the rand() function, the program will try to create the same sequence of numbers again and again for every time the program is set to run.

            In order to use the rand() function is the program, we must include 'cstdlib' in the header file. This header is used to define many different general purpose functions which includes dynamic memory management, random number generation, etc.

Other Questions