Check out example codes for "formal parameter c++". It will help you in understanding the concepts better.

Code Example 1

* formal parameter — the identifier used in a method to stand for the value that is passed into the method by a caller. For example, amount is a formal parameter of processDeposit.
* actual parameter — the actual value that is passed into the method by a caller.

Learn ReactJs, React Native from akashmittal.com