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 are the other modules integrated with om? : sap abap hr

736


What is alv programming in abap? When is this grid used in abap? : abap hr

884


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

827


What are the aggregate objects in data dictionary? : sap abap data dictionary

893


What are the functional modules used in sequence in bdc? : abap bdc

748






What are the main uses of the primary key?

953


Give few names of pooled tables in sap ?

1693


What is the table & field to identify the no of items (bottles) stored in one case?

2161


What does an exec sql statement do in abap?

734


How to maintain lists?

807


What is PS structure

1822


Differentiate between table and template ?

768


What is the difference between sy-tabix and sy-index? Where it is used?

960


What are the attributes of the data in data dictionary? : abap data dictionary

796


What is a persistent class?

1144