How do they differ?
By comparing the two (see Figure 3),
you can see that:
- The formal parameter list specifies the number and type
of parameters that must be passed to the function whenever it is called.
- The actual parameter list specifies the actual parameters
that are passed to the function each time it is called.
(The actual parameters may and often do differ from one
call to the next call to the same function.)