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
What is a type-pool?
What is its? : abap hr
How do you find number of records present in internal table?
What are the differences between a database index and a match code? : abap data dictionary
what is field string ? & where we are using field strings?
What is the lock object?
Can we call reports and transactions from interactive reporting lists?
Events that can be used in both the classical and interactive reports
Which database object is used for storing the system variables? : abap data dictionary
What function does data dictionary perform?
Hat are the different types of mode (run code) in call transaction method?
How to display if the value entered contains records or not?
in bdc session method. if u run the record in fore ground manually i have a 7 records but at the time of record processing first record produces the error how can u process records manually in fore ground please tell me any one knows?
In SAP Script,How to display a single field(like matnr)at the right end of the form.
How many main windows will be there in a page window?