Is it allowed for srand(0) to have the same effect as srand(1)?

Subscribers:
4,130
Published on ● Video Link: https://www.youtube.com/watch?v=CglHKz0gCH8



Duration: 2:40
0 views
0


Is it allowed for srand(0) to have the same effect as srand(1)?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!

(stackoverflow.com/users/1778275/pmor)pmor |
(stackoverflow.com/users/2402272/john-bollinger)John Bollinger |
(stackoverflow.com/users/5754656/artyer)Artyer |
A special thanks goes out to the (https://stackoverflow.com/questions/74193216/is-it-allowed-for-srand0-to-have-the-same-effect-as-srand1)Stackexchange community |

I wish you all a wonderful day! Stay safe :)

c language-lawyer random glibc srand







Tags:
language-lawyer
random
glibc
srand