what is advantages and disadvantages in call by value and
call by reference

Answer Posted / shivam sharma

when formal arguments are ordinary variables then it is called function call by passing value.
and when formal arguments are pointer variables then it is called function call by passing address.
when formal arguments are reference variable then it is called function call by passing reference.

most of the times people considers call by reference and call by address is same but it's not.it is unique in different context.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a structure and a table? : abap data dictionary

705


What is smart forms? : abap hr

687


Write syntax for message error (report)?

735


What is the lock object?

684


Why do we need enhancements?

713






What are the components of sapscript?

710


Different between Interface and Abstract classes?

1209


What is partner selection?

703


What is a logical database?

747


What is pnp-sw-found ? : abap hr

1001


Explain the different types of data dictionary objects?

621


What is the full form of spro? : sap abap hr

807


What is off cycle payroll run

2048


How to maintain lists?

713


How do you delete duplicate records from internal table?

845