C# Programming - Functions and Subroutines - Discussion
Discussion Forum : Functions and Subroutines - General Questions (Q.No. 4)
4.
A function returns a value, whereas a subroutine cannot return a value.
Discussion:
1 comments Page 1 of 1.
Andrue Cope said:
1 decade ago
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!
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:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers