Differentiate between formal parameter and actual parameter.
Advertisements
Question
Differentiate between formal parameter and actual parameter.
Distinguish Between
Advertisements
Solution
| S. No. | Formal parameter | Actual parameter |
| 1. | They are variables defined in the function signature. | They are values given to the function at the time of function call. |
| 2. | They receive value from the actual parameter. |
They give values to a formal parameter. |
shaalaa.com
Is there an error in this question or solution?
