Difference Between Call By Value and Call By Reference?

Answer Posted / ashish awasthi

in call by value method,a compiler get a copy of the
variable and thus changes made in the value in function
will not reflected back to the called function.but in call
by reference method,the compiler didn't get any copy ,but
actually it works on the original copy and thus changes
will be reflected back

Is This Answer Correct ?    261 Yes 59 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we specify the next screen number with a variable?

561


What are the advantages of different types of bdc's?

529


What are the differences between table controls and step loops?

555


What are the different types of luws. What are they?

627


What is the diff between database view and maintenance view?

587






What are the steps to be followed to set lockobjects? : sap abap data dictionary

623


What is database utility?

699


What is the definition of modification in an sap system and how do they impact an upgrade?

535


What are the uses of the information in the data dictionary? : abap data dictionary

724


What is the length of function code at user-command?

749


Does sap handle multiple currencies?

602


Tell me a scenario where did you use secondary index?

627


Double click function on the lists, identifying the line selected by the user on the list?

626


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

653


Select query optimisation

894