by Halskiisaklink on October 10th, 2006

Halskiisaklink

Question

Help answer this question below.

In the context of programming languages, what are formal and actual parameters? Where do you find each of them?

Answers. 1 helpful answer below.

  • by CurlyTail on October 10th, 2006

    CurlyTail

    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?

    • Like
    • Report

    1 comment | Post one | Permalink

Want to attach an image to your answer? Click here.

Did this answer your question? If not, then ask a new question or create a poll.

You're reading In the context of programming languages, what are formal and actual parameters? Where do you find each of them?

Follow us on Facebook!

Related Ads

ANSWERBAG BUZZ

Place that you take photo
What are formal and actual parameters
What do you mean by object in the context of programming