What is the Difference between a sub and a function?
Answer Posted / raju chauhan
Like a Function procedure, a Sub procedure is a separate
procedure that can take arguments, perform a series of
statements, and change the value of its arguments. However,
unlike a Function procedure, which returns a value, a Sub
procedure can't be used in an expression.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is boxing and un-boxing in .net?
Explain what inheritance is, and why it's important?
How do you turn off cookies for one page in your site? Give an example.
What is common language specification (cls)?
Describe the programming model of a windows service
Please tell us what is the difference between override and overload in a method?
How to create a key pair in .net?
What is difference between .net and .net core?
Explain about .net assemblies?
How can you assign an rgb color to a system.drawing.color object?
One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid this problem?
Explain the differences between server-side code and client-side code.
Which file is taken by compiler when we have both file Application and Server Configuration file?
What is the difference between asp.net and asp?
Explain the difference between managed and unmanaged code?