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

What is the disadvantage of a call by reference?

642


What is pass by value and what is pass by reference? Which is better?

838


can anyone please tell me, in orient paper mill project which fields exits for creating report.

1279


What is difference between dependent and independent data?

564


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

602






How do you differentiate tax for different countries? : sap abap hr

694


Explain the relationship between a functional area, user group, and query when developing queries using the sap query tool?

584


Where can you find error log for call transaction? : abap bdc

729


What statement will be found in an sap application program that implements a function module exit?

553


What is Buffering Concept? When should a Table be buffered?

11806


How to find the return code of a statement in abap programs?

609


foreign key enforcement?

1628


From excel to abap - is batch mode possible ? : abap bdc

628


Explain what are the events in screen programming?

576


Define the various contents of technical specifications ?

620