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

Answer Posted / shashank and nishant

In call by reference the the object will get change.
In calle by value it won't.

call by reference passes the address of the argument into
the required subroutine, thenh when it is altered in the
subroutine, its altered value will overwrite the original
argument value.

call by value only passes the value to the subroutine(i.e.
the subfunction defined)and this does not overwrite the
argument value.

Is This Answer Correct ?    53 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

On which event we can validate the input fields in module programs?

705


What is the difference between synchronous and asynchronous update?

729


​​Can multiple abap systems connect to abap database?

694


What is the difference between bdc_okcode and bdc_cursor? : abap bdc

709


What is meant by read lock? : sap abap data dictionary

659






What is the difference between a structure and a table?

618


I just wanted to know that when I am recruiting somebody, I am generating his personal no also. Then I want to give him training also. Now I just want to create 2 scenarios to clear my doubts? : sap abap hr

663


MY DOMAIN IS SAP-ABAP COMPARE TO WEBDYNPRO AND CRM-TECHNICAL WHICH IS BEST?

2540


how to see the tables of 200 in client 100?

1489


Static and instance variable and method with live example. Why and when to use

1019


What is the purpose of at first and at last?

701


How to display if the value entered contains records or not?

686


While sorting field groups we cannot use more than one key field. State true or false. : abap modularization

681


What is processing class, where we do them and why? : sap abap hr

672


What are the system fields? Explain?

752