Functions - Types of arguments

Types of arguments :

Argument or Parameter is way of sending value to function. Function received these values and use them into statements present in the function body. There can be two types of arguments namely,

1. Actual argument

2. Formal argument

Actual argument:

Variables written in function call in the calling function are referred as Actual argument.

Formal argument :

Variable names written inside the Parenthesis for actual arguments 
are called as Formal arguments. 

We can use same for both actual and formal argument or we can
use different names.

Comments