Can't be address of a pointer use as random seed for srand() function. And how ? | SoloLearn: Learn to code for FREE!

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

5/24/2020 8:47:51 PM

Shubham Maurya

1 Answer

New Answer

0

Shubham Maurya here is reference from stackoverflow which you might find helpful https://stackoverflow.com/a/51960375