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 an authorization in sap?

724


Explain what is step-loop? Explain all the steps?

815


Why is pretty printer user in abap?

731


Difference between sy-tabix and sy-index? Can you check sy-subrc after perform?

773


What is a size category? : abap data dictionary

745






Mention the various databases integrities?

702


How many types of tables exist and what are they in data dictionary?

704


How do you find the information on the current screen?

688


What is the use of info groups? : sap abap hr

651


In which time constraint does the infotype records depend on the subtype ? : abap hr

716


How can we create callable modules of program code within one abap/4 program?

717


Difference between /N and /BEND?

915


What are the two levels in defining a match code? : abap data dictionary

708


What is the diffreence between bdc_close_group and bdc_close_dataset? : abap bdc

710


What is difference between inner join and outer join?

741