What is a function? List its advantages. Explain the concept of function call by value and call by reference with example.
Marks: 10
Year: 2019 Final TU FOHSS
1. What is a Function? Definition A function is a self-contained block of code designed to perform a specific task. It can be called multiple times in a program, which helps in modularity and reusa