How is actual parameter different from the formal parameter?
S.no | Actual Parameters | Formal Parameters |
---|---|---|
1. | Used in the function call | Used in the function header |
2. | Pass actual values to the function definition | Receive values passed to function |
3. | Can be constant or variable | Treated as local variables |
BY Best Interview Question ON 07 Feb 2019