Differentiate between call by value and call by reference using suitable examples.
8. A) Differentiate between call by value and call by reference using suitable examples. Answer:- Parameters Call by value Call by reference Definition While calling a function, when you pass…