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

Explain the call transaction method? : abap bdc

574


why particularly lock object name starts with EZ OR EY?

1489


What is protect & endprotect?

558


What is the difference between upload and ws_upload ? : abap bdc

662


what will happen if called program is not executable ?

1687






What is update task

7602


How many main windows are allowed in sapscript?

561


Can we write the code both call transaction and session method in single program?

591


Can we use transfer dataset to transfer data in internal table ?

1630


Can any tell me ECC 5.0, ECC 6.0 Released year? and difference between them?

1954


Different between Interface and Abstract classes?

1102


How is conversion of data types done between abap/4 & external level?

549


What is meant by authorization? : sap abap hr

540


What is sap abap data dictionary?

617


Give few names of pooled tables in sap ?

1490