Difference Between Call By Value and Call By Reference?

Answer Posted / atul gupta

call by value: copies the value of argument into the formal
parameter.Any changes made in the parameter does not affect
the argument .

call by reference : copies the address of argument into the
formal parameter . The address will access the actual argument
used in the call . so any changes made in the parameter will effect the argument

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages and disadvantages of different types of bdc's?

739


What is the meaning of table buffer? This buffer is used by which type oftable?

957


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

866


What is difference between dialog program and a report?

804


What are the different methods of passing data? : abap modularization

754






What is the difference between abap and hr abap? : abap hr

818


What are the different types of the variable in the sap abap?

767


What are differences between at selection-screen and at selection-screen output?

975


Is it possible to run host command from SAP environment? How do you run?

807


A subroutine can contain nested form and endform blocks. State true or false. : abap modularization

1008


function modules are also external subroutines. State true or false. : abap modularization

770


What are the functional areas?

789


What are hashed tables?

1054


Events that can be used in both the classical and interactive reports

1314


Why do we use dynamic where conditions?

1077