Search This Blog

Thursday, 20 December 2012

Types of Parameters


Types of ParametersGenerally arguments are passed from calling function to the called function through function call based on this  behavior the arguments can be divided into two types1.Actual Parameters2.Formal ParametersThe arguments  specified in the function call are known as Actual Parameters.And  the arguments specified in the called  function header are known as Formal parameters.when ever a function is called ,value of Actual parameters is copied to functional parameters.NOTE:1.Number of Actual Parameters and Functional Parameters must be equal.2.Actual Parameter must ber value ,variable orexpression but functional parameters must be always variable.

0 comments:

Post a Comment

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Hostgator Discount Code