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 |
plz can any one list out the set of questions on support project. I am waiting for ur reply
Can we create a search help for a particular user ? if yes..How ?
What is an on”*-input filed” statement?
when u prefer lsmw?
what are the events of table maintenance generator?
What are the organizational related infotypes? : abap hr
What is a projection view? : abap data dictionary
what is abstract classes
Pls someone answer me this, Can we acheive everything using OOPs? If not? What cant be acheived? Have you encountered any scenario liike, you cannot acheive it using Function modules & can be acheived using Oops? What is the advantage of BADI over UserExit? Difference between BAPI and RFC? Thanks in advance.
1) How to maintain lists in dialog programming? 2)How to send greeting with different languages to different regions in smartforms? 3)Can we transfer 100 screen data to pass 200 screen? 4)In reports 1st list o/p can be consider as i/p of 2nd list how it maintains? 5) In lsmw data length 20 chars only but there is 24 chars field how can u manage? 6)What is the diff b/w OK_CODE n SY_UCOMM?
What is the t-code to display batch input sessions? : abap bdc
what is the difference between upload and WS-Upload?