0
whats srand((unsinged) time(NULL)) ? helpp
I forgot what srand and rand() did please explain. https://code.sololearn.com/c3QVDE635Vjj/?ref=app
1 ответ
0
srand((unsigned) time(NULL)) just seeds the value that rand() will generate as it is only a pseudo random value, so without srand() rand() would always produce the same result