Capgemini interview question

Q: swap function Q: call by value and call by reference