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 |
How to validate table entries ?
What are vale table check table? What's the difference between the two? Explain with simple example taking table.
In SAP R/3 architecture, how many databases can exist?
What are the different types of the sap abap data dictionary objects?
Explain what are the problems in processing batch input sessions?
how will u write a report for performance point of view ?
differences between version 4.7 and ecc 5.0
What in script controlling? what are the events in maintenance view:
Explain SD and MM Flow?
12 Answers Keane India Ltd, Mascon, Tech Mahindra,
Anyone can plz help me in finding the occurate material for ALE,EDI&IDOCS ,OTHERTHAN ARVIND NAGPAL'S EDITION!IF u know then plz inform me!
When to use logical database?
What are the system fields?