Difference Between Call By Value and Call By Reference?

Answer Posted / vino

Mostly  call by value and call by reference is differ  from 
copy and modify process..
Copy:
Call by value:
It take difference memory locations  for variables.Duplicate copy of the original parameter is passed.
Call by reference:
It takes Same memoy locations for  variables.Actual copy of the original parameter is passed.
Modify:
Call by value:
No affect on original parameter after modifying the parameter in functions.
Call by reference:
original parameter can be affect afetr modifying the parameter in function..

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are Delivery classes? What data will you want to transport during client copy?

1153


What are the types of windows in sap script?

787


ALV Report that will show the details of order like order no, order date, customer, product code & description, order quantity and value along with the details of dispatch of those orders like invoice no, invoice date, invoice quantity and pending order quantity. plz mention the detail coding Tahnks, Rahul

2386


What is the project you are currently working and work that you are doing

1254


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

980






could anyone tell me what r real time questions been asked in interviews?i am in urgent need..thanks in advance

1657


How to handle errors in call transaction bdc method without using bdcmsgcoll internal table? : abap bdc

884


What is Transactional based Application & Role based Application?

1258


What primary key and foreign key relationship

1074


What is elementary search help? : sap abap data dictionary

770


What is open sql vs native sql ?

2111


How to convert normal function module to bapi?

1737


What is sap abap tables?

801


Explain the data types of internal tables?

810


What is the use of table control in bdc is it same in module pool table control? : abap bdc

865