Difference Between Call By Value and Call By Reference?

Answer Posted / kruthicse

Call By Value:
Creates a new memory loaction for use within the
subroutine.The memory is freed once it leaves the
subroutine.Changes made to the variable are not affected
outside the subroutine.
Call By Reference:
Passes a pointer to the memory location.Changes made to the
variable within the subroutine affects the variable outside
the subroutine.

Is This Answer Correct ?    580 Yes 131 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What two statements are required in an abap program to output an icon using a written statement?

637


Explain get pernr concept when we use logical data base? : abap hr

725


when does a list get sent to the screen on the presentation layer?

1415


How do you Export a session ?

1564


What are the differences between the table and the structure in the data dictionary in the sap abap?

559






What are lock objects?

574


How to eliminate duplicate entries in internal tables?

654


can anybody give me functional specification (or table name & field names) of stock analysis report, work in progress report,generating vendor detailed list

1490


What do you mean by batch data communications programming?

484


How can an internal table with header line and one without header line bedistinguished when passed to a subroutine?

614


Can we control the sequence in which multiple implementations of a multiple use BADI are called? If yes, how?

893


How to write a bdc – how do you go about it?

631


Is it possible to pass data to and from include programs explicitly?

562


What is synchronous update?

545


What is the difference between dialog program and a report?

588