What is difference between a formal and an actual parameter?

Q

What is difference between a formal and an actual parameter?

✍: Guest

A

The formal parameters are the names that are declared in the parameter list of the header of a module. The actual parameters are the values or expressions placed in the parameter list of the actual call to the module.

2011-10-21, 2737👍, 0💬