Formal
Arguments:
- The arguments
present in the function definition are called formal arguments. These are
also called dummy arguments.
Example:
- name(x,y)
- int x,y;
- {
- int z;
- z=x+y;
- return(z);
- }
In this exmple x and y are
called formal or dummy argumets.
Actual
Arguments:
·
The arguments present in
the function calling is called actual arguments. These are called actual
arguments because it has values to sent to the already defined function(called
function) formal arguments.
0 Comment "Write down the difference between Formal and Actual Arguments."
Post a Comment