Fast Enterprises interview question

Difference between pass by value vs pass by reference Explain inheritance