Can someone please explain what is this script about!!!i have began to learn C++ from the tutorials and suddenly faced with the fuction called rand();
Why do we use rand() and what does this script mean as it is shown below!!!??And also what does <cstdlib> refers to???
Code:include <cstdlib> using namespace std; int a = rand();