Difference Between Call By Value and Call By Reference?
Answer Posted / ravi s. sharma
In call by value, a copy of value known as(actual argument)
is passed to the function known as(formal argument). Both
values are stored at different locations and scope. The
changes made in a copy(formal argument) does not affect the
original value(actual argument).
In call by reference, a reference/address of variable known
as(actual argument) is passed to the function known
as(formal argument) which is stored in a
pointer/ref.variable. The changes made in a function
(through pointer/ref. variable) affect the original
value(actual argument).
Is This Answer Correct ? | 15 Yes | 5 No |
Post New Answer View All Answers
1 . how do u design technical documentation in abap ? 2 . what u currently devloped in sap abap ?
Where do you use help views?
What are the advantages of logical databases?
How can we upload a text file having delimiters in to legacy system?
What is the bitwise operator in the sap abap?
What are the different types of views and their definition?
What are the steps to execute session method?
What is the difference between open_form and close_form?
When is the top-of-page event triggered? : abap data dictionary
What are conversion & interface programs in sap?
Why are insert and append statement used in sap abap?
Can we create a gui status in a program from the object browser?
What are the domains and data element?
What is bdc? : abap bdc
What is Group by in Select statement?