Computer Science, asked by akileshkannan4157, 1 year ago

Explain the subroutine linkage method. What are the techniques used for parameter passing

Answers

Answered by Vaibhavverma73
2

Hey mate!

I am here with your answer!

Subroutine linkage method is a way in which computer call and return the Subroutine. The simplest way of Subroutine linkage is saving the return address in a specific location, such as register which can be called as link register call Subroutine.

Just before control is transfered back to the caller, the value of the formal parameter is transmitted back to the actual parameter.T his method is sometimes called call by result. In general, pass by result technique is implemented by copy. Pass by name : This technique is used in programming language such as Algol.

Hope this will help you.

Similar questions