Why we can't use time(x ) in place of seed value | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why we can't use time(x ) in place of seed value

using any time(x) is showing error i.e, time(1) or time (5)

14th Jan 2017, 8:12 AM
Yashwant Kumar Sonkar
Yashwant Kumar Sonkar - avatar
1 Answer
0
you can do that seed(time(0)); time only have one parameter 0
14th Jan 2017, 9:32 AM
A M ~ Smart !
A M ~ Smart ! - avatar