Computer Science, asked by riswanthvijay4, 11 months ago

Give the difference between
actual parameter and formal
parameter.​

Answers

Answered by ayyappanayyanan
2

Answer:

Explanation:

sing Functions is an important concept in programming. A function is a number of statements that can perform some kind of a specific task. If the programmer writes all statements as a single program, it will become complex. Functions can be used to avoid that. They are also known as methods. Each function will have their own functionality. Functions improve code optimization and code reusability. There can be functions provided by the programming language or the functions written by the programmer.  Each function has a name to identify it. After performing a certain task using a function, it can return a value. Some functions do not return any value. The data necessary for the function to perform the task is sent as parameters. Parameters can be actual parameters or Formal Parameters. 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 Ritikaroy1
7

The 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.

Similar questions