C# Programming - Functions and Subroutines - Discussion

Discussion :: Functions and Subroutines - General Questions (Q.No.4)

4. 

A function returns a value, whereas a subroutine cannot return a value.

[A]. True
[B]. False

Answer: Option A

Explanation:

No answer description available for this question.

Andrue Cope said: (Oct 27, 2013)  
Who calls a method a subroutine these days? Didn't they go out with interpreted BASIC?

A function with a return type of void is a function with a return type of void - not a 'subroutine', FFS!

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.