sarath_ibm
New User
Joined: 03 Aug 2005 Posts: 14 Location: hyderabad
|
|
|
|
It depends whether you are calling the program using call by value or call by reference.
If it is call by value, ws-a will remain unchanged. Else, ws-a will be chnaged to 20.
While using Stop run in called program, the control will go directly to OS and stops the execution.
Instead if we use EXIT, it'll return to the calling program. |
|