+ 1

Why does this doesn't return random number?

#include <iostream> #include <cstdlib> using namespace std int main() { srand(79) ; //any number instead of 79 cout<<rand()<<endl; }

13th Jun 2018, 7:20 AM
Neel Rathod
Neel Rathod - avatar
2 ответов