Computer Applications
Differentiate between the following:
Call by value and Call by reference
User Defined Methods
ICSE 2012
19 Likes
Answer
| Call by value | Call 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
Which OOP principle implements function (method) overloading?
A palindromic prime is a prime number and also palindromic. For example, 131, 313, and 757 are prime numbers and also palindromic prime numbers. Write a program that displays the first 100 palindromic prime numbers.
Differentiate between the following:
Pure and Impure methods
Differentiate between the following:
Simple Method and Overloaded method