What is the difference between procedure and functions in VB?

Answers were Sorted based on User's Feedback



What is the difference between procedure and functions in VB?..

Answer / nana

Procedure is a block of code that has no return type
Function is a block of code that has a return type

Is This Answer Correct ?    0 Yes 0 No

What is the difference between procedure and functions in VB?..

Answer / ankit gupta

function return value

sub procedure do not return value

Is This Answer Correct ?    0 Yes 0 No

What is the difference between procedure and functions in VB?..

Answer / mohammed hasheem

A procedure is a collection of statements that perform a task.but A function is a collection of statement that perform a task and returns a value to vb statement that executed it

Is This Answer Correct ?    0 Yes 0 No

What is the difference between procedure and functions in VB?..

Answer / sakthi

Procedure is like function with no return value
Function may /may not return some thing
Both may/may not accept parameters

Is This Answer Correct ?    0 Yes 0 No

What is the difference between procedure and functions in VB?..

Answer / supriya shringi

A procedure is a set of code that does the work but
does
not return a value whereas a function accepts
parameters
and does the calculation and does return a value
back.

Funcion returns the value and proocedeur does not
return
the value
1.Procedure accept input output parameter But
function
accept only input parameter.
2. Function return the value but procuder not
return the
value.
3.Some Condition procedure return the value like
text,
ntext,timestemp data type value but function not
return
text,ntext,timestemp value
Procedure is a bundle of code it does not have
return type
Function Have return type and take only input
Parameater
procedure is block of statement that doesnot return
value,function is accept parameters and return
output

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Visual Basic Interview Questions

What are the new events in textbox that has been included in VB ?

0 Answers  


What is rdo in vb?

0 Answers  


How do I call help files from a VB program?

0 Answers  


What is the difference between Msgbox Statement and MsgboxQ function?

1 Answers  


What are the different compatibility types when we create a COM component?

2 Answers  


what is the Difference between Listindex and Tab index?

1 Answers  


what are Instancing for classes provided by ActiveX component like prive, publicnotcreatable,SingleUse, GlobalSinleUse,MultiUse.

1 Answers   HCL,


What are the objects in ADODB?

1 Answers  


What is the use of Tabledef?

0 Answers  


How to set a shortcut key for label?

2 Answers  


What is RDO?

1 Answers  


Where will we give the option explicit keyword and for what?

1 Answers  


Categories