ANSWERS: 1
  • The variables declared in the procedure and which are passed, as arguments are called actual, the parameters in the procedure declaration. Actual parameters contain the values that are passed to a procedure and receive results. Formal parameters are the placeholders for the values of actual parameters. To be more specific: Formal parameters will be found within a subroutine, procedure or function whereas actual paramaters are found within the body of the code which calls the subroutine, procedure or function. Formal parameters are generally lost and gone forever when a subroutine is completed. Would you like me to provide an example? In C, Java or Zoastrian?

Copyright 2023, Wired Ivy, LLC

Answerbag | Terms of Service | Privacy Policy