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 are Table control and tab strip control in dialog programming ?
In a loop of an internal table, what is the use of at first & at last statements?
How do you read files from the presentation server ? : abap bdc
What are the differences between primary and secondary indexes?
How we can give authorization on the fields of table control in a dialog-programming?
What are the functional areas? User groups? and how does ABAP query work in relation to these?
difference between Valuation type and valuation category?
Explain the difference between a pool table and a transparent table and how they are stored at the database level?
what are the two methods of modifying sap standard tables ?
What is your approach for writing a bdc program? : abap bdc
What are the types of table fields in the sap abap?
Where are you used type casting?
Interactive Report that list purchase order details of a vendor. When the user double clicks on material number it shows detail list with fields matkl, meins, brgew, ntgew, gewei.The selection screen consist of sales organisation, distribution channel and material number. plz mention the detail coding Tahnks, Rahul
How to write a code in tab control? : abap bdc
From Excel to ABAP - Is batch mode possible ?