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 open sql vs native sql ?
Suppose in an ALV report in grid we have to disply matnr, ernam,ebeln,ebelp etc.But when we bring the cursor on that specified field it will show "material number" for matnr, "purchase Document Number" for ebeln etc. how do you acheive this?
IN SCRIPTS IF WE HAVE EMPTY SECOND LAYOUT AND IF WE HAVE MENTIONED ABOUT IT IN NEXT PAGE ATTRIBUTE THEN IN OUTPUT HOW WE GET THE SECOND PAGE OUTPUT.
write the codes for how to handle currency and date fields in bdc
How can we add another field to display in standard SAPSCRIPT? Ex. we have customer address in layout, now we have to add customer Phone no in the same.
What are the system table used in abap?
write the program for prime numbers between 1 to 1000
What are the dynamic actions and how to configure it? : sap abap hr
what is data structure and data table
what is the status code when IDOC is created?
What is going life actually? What is the role of a functional consultant in it? : sap abap hr
How to create standard text and how do u transfer it ?