How does Random Number Generator Work | rand()/srand()

preview_player
Показать описание
How does Random Function work in C++, C , Java etc.

Hello Everyone,
in this video I have explained how a random number generator/ random function works,.
Рекомендации по теме
Комментарии
Автор

thanks bro i can now make a random number generator picking how many times i'm going to cry in the shower

_MaxxFaxx_
Автор

This video is really nice. I had to appreciate this video that i never do😅❤❤❤

Thehimanshu
Автор

Loved it !! Always had a how in my mind regarding the random number generator function.Thank you for explaining so clearly.

himadriroy
Автор

Great video bro. I was really curious how random numbers were generated in computers and I wanted to make my own in c. Thanks a lot!

floppainspector
Автор

Great video 👍👍 but I want to know how we take constant numbers like a, b can u explain it.

yahiyapasha-fozl
Автор

Aapne Xn = ((Xn-1 * a)+b)%n likha hai or aap JB formula apply kr rhe hai tb aapne Xn = ((2*3)+3)=11%10=1 ans will be Xn = ((2-1*3)+5) = 4%10 = 4

jar