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

Answer Posted / mukesh

In call by value method-The copy of variables are passed into the function and it does not overwrite the original values declared in main function. It consumes much space than call by reference method
In call by reference method- The address of variables are passed into the function and it will overwrite the original values declared in main function. It consumes less space the call by value method.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

​​What is view proxy in abap?

797


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

593


ABAP : Classical reports events name

903


Name the function module used to convert logical file names to physical file names in abap/4 programs?

595


What is SAP Data conversion ?

634






What is the significance of technical settings (specified while creating a table in the data dictionary)? : abap data dictionary

610


Explain what is sap script? What is the purpose of sap script? Difference between sap script and report?

538


What is a collect statement?

577


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

577


What is a size category? : abap data dictionary

663


What is an rfc?

595


What does nw 7.4 sp 05/nw 7.5 sp 02 offers in abap?

692


What is difference between dialog program and a report?

597


How can we upload a text file having delimiters in to legacy system? : abap bdc

614


What is the collect statement?

677