Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics

What is the difference between a function and a subroutine?

A function returns a value whereas a subroutine does not. A function should not change the values of actual arguments whereas a subroutine could change them.

Improve Answer Discuss the question "What is the difference between a function and a subroutine?" Click here to register and get updates when this answer is edited. Share on Facebook Share on Twitter

First answer by ID0995972686. Last edit by Moobler. Contributor trust: 201 [recommend contributor]. Question popularity: 21 [recommend question].

Answers.com > Wiki Answers > Categories > Technology > Computers > Computer Programming > What is the difference between a function and a subroutine?

Our contributors said this page should be displayed for the questions below. (Where do these come from)
If any of these are not a genuine rephrasing of the question, please help out and edit these alternates.
What is the function of subroutine?  Difference between functions subroutine?  Difference between subroutine and a function?  Difference between subroutine and called program?  The difference between a subroutine and a function?  What are the differences between subroutine and function?  What is the difference between a subroutine and a function?  What is are the differences between subroutine and interrupt?  What is the difference between function and subroutine in VB?  What is the difference between a function and a subroutine give brife answer?  Function and subroutine?  Different between function and subroutine?  Differance between function and subroutine?  Difference between function and subroutine?  Differences between subroutine and function?  Differentiate between subroutine and function?  Difference between a function and a subroutine?  What is the difference between function and subroutine?  What is the difference between function and subroutine in Visual Basic?  What is the difference between subroutine and function?