0

Can't be address of a pointer use as random seed for srand() function. And how ?

I think it will produce more random output than time(0) seed because memory allocation for a var is different each time and you never know the sequence

24th May 2020, 8:47 PM
Shubham Maurya
Shubham Maurya - avatar
1 Resposta
0
Shubham Maurya here is reference from stackoverflow which you might find helpful https://stackoverflow.com/a/51960375
24th May 2020, 8:58 PM
BroFar
BroFar - avatar