ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  Dot Net  >>  Dot Net General
 
 


 

 
 Dot Net Framework interview questions  Dot Net Framework Interview Questions
 Dot Net Remoting interview questions  Dot Net Remoting Interview Questions
 Dot Net WindowsForms interview questions  Dot Net WindowsForms Interview Questions
 Dot Net General interview questions  Dot Net General Interview Questions
 Dot Net AllOther interview questions  Dot Net AllOther Interview Questions
Question
What is the Difference between a sub and a function?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the Difference between a sub and a function?
Answer
# 1
SUB is a method
FUNCTION is to return a value to it
 
Is This Answer Correct ?    15 Yes 1 No
Aravindreddy
 
  Re: What is the Difference between a sub and a function?
Answer
# 2
sub does not return's a value,but function return's value
 
Is This Answer Correct ?    19 Yes 1 No
Bhupendran
 
 
 
  Re: What is the Difference between a sub and a function?
Answer
# 3
Function always returns a value but sub does not.
 
Is This Answer Correct ?    14 Yes 2 No
Alam
 
  Re: What is the Difference between a sub and a function?
Answer
# 4
Sub keyword is used for the procedures and procedures never 
return a value where function key word is used for function 
and function returns a value that can be assign to any 
variable.
 
Is This Answer Correct ?    12 Yes 1 No
M. Aqueel
 
  Re: What is the Difference between a sub and a function?
Answer
# 5
Function returns a value, Sub doesn't.
Function can be called from within a cell, similar to
=Today() function.
 
Is This Answer Correct ?    4 Yes 1 No
Aaa
 
  Re: What is the Difference between a sub and a function?
Answer
# 6
sub does not returns a value but function returns a value
 
Is This Answer Correct ?    1 Yes 0 No
Kinjal
 

 
 
 
Other Dot Net General Interview Questions
 
  Question Asked @ Answers
 
What are the two kinds of properties. Wipro2
can any one tel me hw to connect database connectivity of dot NET and back end as MS access?  1
for the textbox if i want to allow only numbers.what ever the characters u enter it should not take.which event u used? IBM3
Is .net is platform independent. If am using solaris, installing .net first u had to install framework, so framework is .exe file then it will not take in solaris or any other than windows,then how .net is platform independent.  1
is c#.net supports multiple inheritance?  9
what is AGILE SCRUM methodoly....?  1
Explain manifest & metadata. Wipro3
How can you automatically generate interface for the remotable object in .NET with Microsoft tools?  1
what is viewstate?  1
What are Satellite Assemblies? How you will create this? How will you get the different language strings?  3
In Mvc Architecure what is view? TCS1
Can you configure a .NET Remoting object via XML file?  1
What is WSDL and disco file ? TCS3
What are the benefits of Model-View-Controller Architecture?  1
What is a strategy pattern? Implement it.  1
i have 2 functions, int add(int a,int b); double add(int a,int b); does this code implement overloading? if not what will be the error? Deloitte4
How to find methods of a assembly file (not using ILDASM) Reflection  1
How do you define the lease of the object?  1
Difference b/w dataset.clone and dataset.copy ? Protech1
why do you want to join deloitte, where do you exactly fit in. Deloitte1
 
For more Dot Net General Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com