What is a subroutine?

Showing Answers 1 - 4 of 4 Answers

nitashaa

  • Jul 15th, 2008
 

One major difference between subroutine and function-
A function definition must have a return statement whereas a subroutine always return value of last expression evaluated in case there is no return statement.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions