Dfference between Swap function

what is the difference between previous swap function i.e swap ( int [ i ] , int [ j ] ) and this swap function (int arr [ ] , int i , int j ) and how the second one worked?

@varenatray_316d1f71b9922ccb refer this article to get what is the difference between these two :

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.