There is no such thing called references in solidity. But if we just pass the value of it, we can only use it, but can't change the actual value of the variable. So, we need to pass the address along with it's value, if we want to change it. This can be understood as pass by reference where we are actually passing value but along with it's address. I mentioned passing value with address as pass by reference as it is close to it which might be easy to understand.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
There is no such thing called references in solidity. But if we just pass the value of it, we can only use it, but can't change the actual value of the variable. So, we need to pass the address along with it's value, if we want to change it. This can be understood as pass by reference where we are actually passing value but along with it's address. I mentioned passing value with address as pass by reference as it is close to it which might be easy to understand.