Difference Between Call By Value and Call By Reference?

Answer Posted / neeraj mishra

Call by value:
A copy of actual parameters is passed into formal parameters.

Call by reference:
Reference or address of actual parameters is passed into formal parameters.

To learn more about them with example you can refer below link:
http://www.thecrazyprogrammer.com/2015/12/difference-between-call-by-value-and-call-by-reference-in-c.html

Happy Coding!! :) :)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How memory management happens for internal tables and work areas in abap?

1138


what is friend class

1062


Can a constructor be redefined?

1104


What are the different types of parameters? : abap modularization

822


What is the difference between open_form and close_form?

808






What are the different types of abap reports in sap?

995


What is the difference of update types in call transaction method ? : abap bdc

829


Can you delete data element, which is being used by table fields. : abap data dictionary

845


What is a collect statement?

747


What are the problems in processing batch input sessions? How is batch inputprocess different from processing online?

751


Explain badi in abap.

763


What are the function modules that are generated when you activate a lockobject? : sap abap data dictionary

752


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

777


What will be your approach towards optimizing legacy code? Will you suggest change in technology? Does OO ABAP bring any performance benefits? How will you deal with queries in a loop? How will you optimize nested loops?

1091


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

889