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

587


How can an internal table with header line and one without header line bedistinguished when passed to a subroutine?

637


– Programming using BAPI : Create Debit Memo Request (DMR) with reference to Sales Order and update the delivery number and PO number in the newly created DMR. Send the spool of the report by E-mail if the E-mail option is enabled. Selection Screen Required:  Sales Org  Delivery type  Sales document type Optional:  Planned Goods movement date  Option to choose E-Mail  E-mail Address  Output device Output Output should display both successful and unsuccessful creation of DMR with the following fields,  Success/Error (S/E)  Sales Document number  Delivery number  New Debit memo request number  Error message Tables TVAK, TVCPA, VBAK, LIKP, LIPS

5526


how to see the tables of 200 in client 100?

1410


wat is the default file name of BAPI trace?

1816






What data is contained in data dictionary? : abap data dictionary

642


How do you find if a logical database exists for your program requrements?

603


What are multiple use BADIS?

994


What is repository info. Systems? : abap data dictionary

584


How did you transfer legacy data in the mid of the financial year (us) to the sap system? : sap abap hr

541


How do you work with semi colon se[arated files in BDC ?

1452


To find the date difference & excude saturday & sunday in between them

1528


What is an update type with reference to a match code id?

566


Mention some important events in abap programming.

584


What are the data types of the external layer?

583