Randomised quick sort

please tell me the right way to implement random number , i have mentioned the the code

Hi @vikashkmr519,
I have mentioned your error in comments in the below code .