what is advantages and disadvantages in call by value and
call by reference
Answer Posted / shashank and nishant
In call by reference the the object will get change.
In calle by value it won't.
call by reference passes the address of the argument into
the required subroutine, thenh when it is altered in the
subroutine, its altered value will overwrite the original
argument value.
call by value only passes the value to the subroutine(i.e.
the subfunction defined)and this does not overwrite the
argument value.
Is This Answer Correct ? | 53 Yes | 13 No |
Post New Answer View All Answers
What are the functions of lock objects?
How to find Kernal badi ?
What is dialog module?
How will you link form with the event driven in sap scripts?
What primary key and foreign key relationship
What is amdp (abap managed data procedures)?
What is native sql?
What is meant by hide area?
What is the use of at new statement ?
What are local objects?
What will happen when we use single buffered selected?
what will happen if called program is not executable ?
Why do we declare a method of a class final? What can be the purpose? Give a scenario.
What are the personnel administration related Infotypes
1.If there is one receiver,then To send 10 materials at a time through BD10 tcode, How many Master Idoc create? 2.If there is one receiver,then To send 1 material at a time through BD10 tcode, how many Master Idoc generated? 3.Can I Send Multiple Messges through BD10 tcode?