0
1.6kviews
Explain the Difference between formal and actual parameters with an example.
1 Answer
| written 3.0 years ago by |
Solution:
Actual Parameters:
Actual parameters are values that are passed to a function when it is invoked. Refer to the below program.

Formal parameter:
A formal parameter is defined while determining the subroutine. Formal parameters are also used in the header of the function.
Formal parameters are always variables, while …