srand | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

srand

what is the different of srand(time(null)) and srand(time(0))

30th Sep 2016, 9:16 AM
Ayin GhaziMoradi
1 Answer
+ 2
NULL and 0 is the same,so that doesn't really matters
1st Oct 2016, 9:33 AM
Rostyk Krit
Rostyk Krit - avatar