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

Explain the uses of the simple maintenance interface? : sap abap hr

571


What is the difference between native sql & open sql? : abap data dictionary

592


What is the table buffer?

562


What are the different types of locks? : abap data dictionary

618


What are screen painter? Menu painter? Gui status?

592






How to eliminate duplicate entries in internal tables? : abap data dictionary

776


What are the three components of a work process?

621


After running a BDC program in background, next day morning when you see the results, few records are not updated(error records). What will you do then ?

1446


Advantages and disadvantages of different types of bdc's?

568


THANKS ALL. i CLEARED THE INTERVIEW OF INFOSYS BASED ON THIS QUESTION SET. IT REALLY WORKS. LONG LIVE ALLINTERVIEW.COM

15740


What is the difference between the function module and a normal abap/4 subroutine? : abap modularization

688


What is a table pool?

618


What is the difference between a structure and a table? : abap data dictionary

605


What is meant by payscale structure? How did you configure pay scale structure? : sap abap hr

525


What will you code in start-of-selection & end-of-selection ?

586