Actual and Formal Arguments, Types of Arguments

Types of Arguments in C++Actual Arguments, Formal Arguments

Types of Arguments in C++


Actual Arguments: 


An actual argument may be variable name , expression or constants contained in a function call that replaces the formal parameter which is part of the function declaration.

Formal Arguments:


 formal arguments are the parameters present in function definition which may also be called as dummy arguments or the parametric variables . Formal arguments must be a valid variable name. When function call is made only a copy of the values of the actual argument is passed to the called function. Any changes in formal argument does not effect the actual argument.



Labels: