What is a subroutine?

Showing Answers 1 - 2 of 2 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