I don't think the standard defines rand()'s algorithm.

But have a look here(C++11):
Pseudo-random number generation - Cppreference