Explain the difference between a sub and a function?
Answer Posted / ravi
Sub means subroutine which does not return any output
it will accept any number of parameters with no return type
Function which is having return type
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is hashset c#?
Are constructors inherited c#?
Can enum be null c#?
Can we write class inside a class in c#?
How can I create image pieces/sub image?
When would you use generics in your code c#?
what is .NET framework architecture ??
Can we inherit two classes in c#?
What is the difference between static class and singleton class in c#?
What is marshalling in c#?
Is an interface a type c#?
What is javascriptserializer c#?
What is the difference between package and interface?
Why is c# a good programming language?
What is attribute and reflection in c#?