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

How do you use tab sets in layout sets?

659


How many lists can a program can produce?

599


What are the functional areas? User groups?

606


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

757


In what ways we can get the context sensitive f1 help on a field?

600






What are the steps to execute session method?

600


What is database utility? : abap data dictionary

598


Fallback class

1745


What are the 3 methods that we use in sequence in a batch input session method? : abap bdc

577


While sorting field groups we cannot use more than one key field. State true or false. : abap modularization

594


How did you test the form you developed? How did you taken print?

612


What is full form of bdc session? : abap bdc

678


Explain the differences between se01, se09 and se10?

573


How are BAPI different from normal function modules?

1724


What is sap luw or update transaction?

614