+ 3
What is the reason when we add #include<ctime> in our code and cout<<time(0)<<endl; always outputting random numbers
4 Answers
0
ĐĐŒ ĐżŃĐžĐČĐ”Ń
0
Because this will take current time of system and time can never b same in your case. That's why it always generates random numbers.
0
hello