Random Password Generator in C++ Programming Language.
There is use of random function
time(0) returns the amount of seconds that have passed since that moment. srand(time(0)) is used in C++ to help in the generation of random numbers by seeding rand with a starting value.
rand() function is an inbuilt function in C++ STL,which is defined in header file .rand() is used to generate a series of random numbers. The random number is generated by using an algorithm that gives a series of non-related numbers whenever this function is called.