Difference Between Call By Value and Call By Reference?
Answers were Sorted based on User's Feedback
Answer / abhinav
call by value- passing the value of variable to the function.
call by reference-passing the address of variable to the function.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ankit sheladiya
If data is passed by value, the data is copied from the variable used in for example main() to a variable used by the function. So if the data passed (that is stored in the function variable) is modified inside the function, the value is only changed in the variable used inside the function. Let’s take a look at a call by value example
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
Answer / amit dhamapurkar
simplest possible method of passing the parameters the
actual parameter are evaluated and their r values are passed
to the subroutine in location determined by the language
implimentation
Is This Answer Correct ? | 48 Yes | 60 No |
What is the diffrence between index and primary key?
What are client dependant objects in abap/sap?
what is the purpose of RDBMOIND RPOGRAM?
what is the difference between se16 and se17 ??? need urgent ans plz..
final entry BDC table?
Explain the different types of mode (run code) in call transaction method?
How do you generate Interactive report using ALV's?
Explain how many types of tables exist and what are they in data dictionary?
29) Difference between check table and value table?
Write an abap program for creation of customer enquiry using BAPI 'BAPI_INQUIRY_CREATEFROMDATA'.
what is the difference between interface and global diffinations in smartforms?
what is the work of buffer in sap ?