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
Is there hashmap in c#?
Give 2 scenarios where static constructors can be used?
What is the wildcard character in sql?
What is the difference between dispose() and finalize() methods in c#?
What is c-sharp (c#)?
Is datetime nullable c#?
How is a loop recorder monitored?
What is a thread? What is multithreading?
What are the various components in crystal reports?
What is system console writeline in c#?
What is string interpolation in c#?
What is difference between value and reference types in C#.NET
Does c# provide copy constructor?
How to handle exceptions that are raised in a component?
What is regex c#?