One place where it is useful to use pass by reference is when we need to swap, or exchange the values of two variables.