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
Is it possible to run host command from SAP environment? How do you run?
What are the uses of the information in the data dictionary? : abap data dictionary
Explain the difference between tables and structures?
How to Solve a Particular Ticket in Realtime ?
What are the different software packets available in the market? : sap abap hr
What is the significance of delivery class?
Explain what is an rfc?
What is abap dictionary or data dictionary? What is the transaction to access abap dictionary? : abap data dictionary
How can the standard tables of sap be modified?
Difference between top-of-page and top-of-page during at line- selection?
How do you write manual bdc session method? : abap bdc
Can you set up background processing using call transaction?
Define external layer?
What is a data dictionary? : abap data dictionary
What is meant by write lock? : sap abap data dictionary