Fast Enterprises interview question

1) Difference between pass by value and reference. 2) Explain the types of loops