0
859views
Explain the Difference between formal and actual parameters with an example.
1 Answer
0
72views

Solution:

Actual Parameters:

Actual parameters are values that are passed to a function when it is invoked. Refer to the below program.

enter image description here

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 …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.