KnowledgeBoat Logo
|

Computer Applications

Differentiate between the following:

Call by value and Call by reference

User Defined Methods

ICSE 2012

19 Likes

Answer

Call by valueCall by reference
Values of actual parameters are copied to formal parameters.Reference of actual parameters is passed to formal parameters.
Changes made to formal parameters are not reflected back to actual parameters.Changes made to formal parameters are reflected back to actual parameters.

Answered By

12 Likes


Related Questions