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
How jit (just in time) works?
What is parse method in c#?
Write a short note on interface?
List down the commonly used types of exceptions in .net
Can you pass value types by reference to a method?
What are console applications used for?
What is method and function in c#?
What is thread.sleep()?
Is xml tags are case sensitive?
Why do we use parameters in c#?
What is lazy loading and eager loading in c#?
Which namespaces are necessary to create a localized application?
When do you generally use a class over a struct?
What does dbml mean?
what is the Difference between the public and private ?