Actual parameter and Formal parameter
22-04-2018    1209 times
Actual Formal parameter

Actual parameter and Formal parameter

In relation to function calling, parameters are two types

  • Actual parameter
  • Formal parameter

Actual parameters are situated in caller method and formal parameters are written in called function. That is if we write a method called “sum()” with two parameter called “p” and “q”. These parameters are known as formal parameters. Now we call the “sum()” function from another function and passes two parameters called “a” and “b”. then these parameters known as actual parameters.

Tutorial at home
Actual And Formal Parameter
    Author Details
Arnab De
I have over 16 years of experience working as an IT professional, ranging from teaching at my own institute to being a computer faculty at different leading institute across Kolkata. I also work as a web developer and designer, having worked for renowned companies and brand. Through tutorialathome, I wish to share my years of knowledge with the readers.
    Related Post
  Query About the post