what is advantages and disadvantages in call by value and
call by reference

Answer Posted / shivam sharma

when formal arguments are ordinary variables then it is called function call by passing value.
and when formal arguments are pointer variables then it is called function call by passing address.
when formal arguments are reference variable then it is called function call by passing reference.

most of the times people considers call by reference and call by address is same but it's not.it is unique in different context.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A field containing quantity amounts (data type quan) must be assigned to a reference table and a reference field. Explain? : abap data dictionary

666


Sales Order Information Report that lists information like sales order no, Item no, material no, Quantity, Quantity unit, Net value, Currency,Sub Total, Grand Total. plz mention the detail coding Tahnks, Rahul

1706


What is the significance of the screen number ‘0’?

557


What is database utility? : abap data dictionary

590


Explain the difference between get and get late?

576






Why grouping of fields is required? What is the max no of modification groups for each field?

550


how to combine the transparent table with cluster table.

1091


Rp_provide_from_last contains how many parameters ? : abap hr

867


What are the two ways for restricting the value range for a domain? : abap data dictionary

526


Which type of tables used this buffer?

589


How can we determine a vendor is Bloc/Unblock from the table LFA1?

1649


What do is landscape in sap project, I think its related to no. Of servers used, pls correct me if I am wrong, or what it is? : sap abap hr

544


What is meant by authorization? : sap abap hr

549


Explain how do you move on to the next screen in interactive reporting?

566


can i use table key and key in an internal table and explain the functionalities of each one and what functionality does it give if both are used for same internal table

1782