8. C) How actual parameters are different from formal parameters? Explain.
Answer:
| Sl.no | Actual parameters | Formal parameters |
| 1. | When a function is called, the values that are passed in the call are called actual parameters. | The values which are received by the function, and are assigned to formal parameters. |
| 2. | They are also called as argument list. | They are also called as dummy parameters. |
| 3. | The variables used in the function call is called actual parameters. | The variables defined in function header are called formal parameters. |
| 4. | These are used in calling function when a function is called or invoke. | These are used in function header of the called function. |
| 5. | Actual parameters sends data to the formal parameters. | Formal parameters receives data from actual parameters. |
