Difference Between Call By Value and Call By Reference?

Answer Posted / soumya.tavildar

call by value :
The copy of the argument is passed. e,g., if x and y are arguments and their corresponding values are say 100 and 200.
c=max(x,y);
max(inta,intb)

call by referance :
it is sending the address of variables to the called function.

Is This Answer Correct ?    89 Yes 41 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the fields in the memory table ‘screen’?

584


What are the properties of selection screen?

560


How can we determine a vendor is Bloc/Unblock from the table LFA1?

1652


Can we set page headers to details lists?

587


performance tuning concepts

955






Mention the various databases integrities?

612


How can we access the correction and transport system? : abap data dictionary

584


What is a fall back class?

1017


what is the process of creating quotation using BAPIs.

1571


Define abap/4 layer?

760


What is the difference between data elements and domains?

570


When is the top-of-page event triggered? : abap data dictionary

799


When a function module is activated syntax checking is performed automatically. State yes or no. : abap modularization

609


Explain the different types of view?

602


Define spool request?

664