answersLogoWhite

0

A function. However, not all languages differentiate between procedures and functions. In C and C++ for instance, a function that returns void is (technically) a procedure but it is still regarded as being a function even though it does not return a value. Also, in C++, constructors, destructors and type conversion operators don't have a return type of any kind (including void) but are not regarded as being either procedures or functions.

User Avatar

Wiki User

9y ago

What else can I help you with?

Related Questions

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 the difference between a procedure and a function in programming?

In programming, a procedure is a set of instructions that performs a specific task, while a function is a type of procedure that returns a value. Functions are more versatile and reusable because they can be called multiple times and can return a result. Procedures, on the other hand, are used for tasks that do not require a return value.


What is the return keyword in Java?

this is the type of the value that the method returns to its caller


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.


When function returns a value the entire function call can be assigned a variable?

AnswerYes, it can. For instance, if your function returns double you can assign the function call to a variable of type double.AnswerNo, only the returned value, of course.


What part of a function definition specifies the data type of the value that the function returns?

The function header. The return value is written before the name of the function. This return type must match the type of the value returned in a return statement.


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.


How can a procedure be defined in C plus plus?

A procedure is simply a function in C++, therefore you define procedures just as you would any function. In some languages, a procedure is not a function as such, insofar as there is no return type. The C++ equivalent would therefore be a function that returns void.


What module returns a value back to the part of the program that called it?

A function. You can have a function that returns but doesn't return a value with it.


What is the difference between min and max function?

The MIN function returns the lowest value from a set of values. The MAX function returns the highest value from a set of values.=MIN(A2:A20)=MAX(A2:A20)The MIN function returns the lowest value from a set of values. The MAX function returns the highest value from a set of values.=MIN(A2:A20)=MAX(A2:A20)The MIN function returns the lowest value from a set of values. The MAX function returns the highest value from a set of values.=MIN(A2:A20)=MAX(A2:A20)The MIN function returns the lowest value from a set of values. The MAX function returns the highest value from a set of values.=MIN(A2:A20)=MAX(A2:A20)The MIN function returns the lowest value from a set of values. The MAX function returns the highest value from a set of values.=MIN(A2:A20)=MAX(A2:A20)The MIN function returns the lowest value from a set of values. The MAX function returns the highest value from a set of values.=MIN(A2:A20)=MAX(A2:A20)The MIN function returns the lowest value from a set of values. The MAX function returns the highest value from a set of values.=MIN(A2:A20)=MAX(A2:A20)The MIN function returns the lowest value from a set of values. The MAX function returns the highest value from a set of values.=MIN(A2:A20)=MAX(A2:A20)The MIN function returns the lowest value from a set of values. The MAX function returns the highest value from a set of values.=MIN(A2:A20)=MAX(A2:A20)The MIN function returns the lowest value from a set of values. The MAX function returns the highest value from a set of values.=MIN(A2:A20)=MAX(A2:A20)The MIN function returns the lowest value from a set of values. The MAX function returns the highest value from a set of values.=MIN(A2:A20)=MAX(A2:A20)


What is pv in excell?

The PV function is a financial function. It is used to return the present value of an investment based on an interest rate and a constant payment schedule. The syntax is a follows: PV( rate, number_payments, payment, [FV], [Type] ) Rate is the interest rate for the investment. Number_payments is the number of payments for the annuity. Payment is the amount of the payment made each period. If it is omitted, you have to enter a FV value. FV is optional. It is the future value of the payments. If it is omitted, it is assumed to be 0. Type is optional. It indicates when the payments are due. Type can be one of the following values: 0 for when payments are due at the end of the period, which is the default. 1 for when payments are due at the start of the period. If the Type parameter is left out, the PV function sets the Type value to 0.


What is the procedure in converting the value?

To convert a value, you have to know specifics, such as places and decimals, and items, and so on. You will also need to change the data type to understand more.