what is advantages and disadvantages in call by value and
call by reference
Answer Posted / mukesh
In call by value method-The copy of variables are passed into the function and it does not overwrite the original values declared in main function. It consumes much space than call by reference method
In call by reference method- The address of variables are passed into the function and it will overwrite the original values declared in main function. It consumes less space the call by value method.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is the difference between a substructure and an append structure?
What are the organizational related infotypes? : abap hr
Why do we use dynamic where conditions?
how to see the tables of 200 in client 100?
Can a constructor be declared private? If yes then in which scenario?
What is modularization and its benefits?
What is at exit-command:?
Explain about workbench request and customization requests?
Can we set page headers to details lists?
What is payroll driver ? : abap hr
How many types of tables exist and what are they in data dictionary?
What are the internal tables and work area?
What is the difference between abap and hr abap? : abap hr
How do you populate data into a multiple line field? : abap bdc
How will you read from internal table records in a given value range (without using loop)