answersLogoWhite

0

Both A function and a Sub carry out a procedure, but only A function returns a result while a Sub does not return a result.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

3 What is the difference between a function procedure and a subroutine procedure?

Both a function and a subroutine are examples of out-of-line execution calls to code. The main difference is that a function call can be part of an expression and returns a value, whereas the subroutine can be called standalone and does not return a value.


Difference between delay subroutine and ordinary subroutine in context of 8085?

a subroutine is a portion of the code within a larger program which performs a specific function and is independent of remaining code.....delay routines are subroutines used for maintaining the timings of various operations in microprocessor


What is main difference between macro and subroutins?

marco expand where it invoked ,subroutine will go where the subroutine is defined....


Difference between interrupt and subroutine in computer?

interrupt is a signal caused by I/O devices where as subroutine is a part of the program which is excuted rapidly


What is different between a subroutine and function in vb.net?

Function returns a value but sub procedure do not return a value.


What is a single computer function that initiates a string of commands?

A call to a subroutine. A subroutine is a named/labeled set of commands.


Another name for method?

* Function * Subroutine * Procedure


What are subroutine linkages?

The Mechanism that makes possible to transfer control between the calling program and Subroutine is reffered to as SUBROUTINE LINKAGE


When a function does not return a value what kind of function is it called?

In most computer languages, a procedure that returns a value is called a function and a procedure that does not return a value is called a subroutine or subprogram. Usually the languages treat the passing of arguments/parameters differently between functions and subroutines. The C language does not distinguish between them. A subroutine that does not return a value is define as a "void" function indicating that no return value is used or available.


What is a function procedure in Visual Basic?

A function is essentially a subroutine that is ment to be used by other subroutines.


Example of fundamental difference between a polynomial function and an exponential function?

fundamental difference between a polynomial function and an exponential function?


Difference between normal function inline function?

gffg