Computer Science, asked by shifa6952, 8 months ago

what is the return statement? in computer​

Answers

Answered by rathilakshit
1

Answer:

In computer programming, a return statement causes execution to leave the current subroutine and resume at the point in the code immediately after the instruction which called the subroutine, known as its return address.

Explanation:

mark as brainliest

Answered by Anonymous
2

A return statement causes execution to leave the current subroutine and resume at the point in the code immediately after the instruction which called the subroutine, known as its return address. The return address is saved by the calling routine, today usually on the process's call stack or in a register. Return statements in many languages allow a function to specify a return value to be passed back to the code that called the function.

Similar questions