Computer Science, asked by aryanajay493, 10 months ago

Give a difference between Actual Parameters and Formal Parameters. Write a code as an example to

illustrate both.​

Answers

Answered by shraddhasingh3031
3

Explanation:

The key difference between Actual Parameters and Formal Parameters is that Actual Parameters are the values that are passed to the function when it is invoked while Formal Parameters are the variables defined by the function that receives values when the function is called.

Answered by shivakumar0820
3

Answer:

mark me brainlinest

Explanation:

There are two other categories that you should know about that are also referred to as "parameters". They are called "parameters" because they define information that is passed to a function.

  • Actual parameters are parameters as they appear in function calls.
  • Formal parameters are parameters as they appear in function declarations.

A parameter cannot be both a formal and an actual parameter, but both formal parameters and actual parameters can be either value parameters or variable parameters.

Similar questions