answersLogoWhite

0

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.

User Avatar

AnswerBot

4mo ago

What else can I help you with?

Continue Learning about Computer Science
Related Questions

What is the difference between structured oriented programming procedure and oriented programming?

LOTTA


What is the difference between a function and Procedure?

Girraf


Difference between procedural programming and modular programming?

Procedural programming is a computer programming technique in which the program is divided into modules like function or subroutine or procedure or subprograms, where as ... "Modular Programming" is the act of designing and writing programs as interactions among functions that each perform a single well-defined function, and which have minimal side-effect interaction between them. Put differently, the content of each function is cohesive, and there is low coupling between functions as happens in procedural programming.


Difference between function and objective function?

The linear function Z=c1x1+c2x2+c3x3+..........+cnxn which is to minimized or maximized is called Objective Function of general Linear Programming Problem.The innequalities of LPP are called constraints.


Difference between sql function and sql procedure?

Function is must be return the value but procedure cannot be returned, for more information please visit the link : http://youropensource.com


Difference between subroutine and function?

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.


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.


What is the difference between a precondition and postcondition in C programming?

In C programming, a precondition is a condition that must be true before a function is called, while a postcondition is a condition that is guaranteed to be true after the function has been executed.


Difference between conventional programming and object oriented programming?

diff between oops and conventional programming


What is the difference between the keyword "f" and "ff"?

The keyword "f" typically stands for "function" in programming, while "ff" is not a standard keyword and does not have a specific meaning in most programming languages.


What is the difference between java and object oriented programming?

java is a programming language/platform that embodies object oriented programming concepts. The question of what is the difference is like asking what is the difference between cars and a Volvo.


Difference between C and C programming language?

The C and C programming languages are one and the same. There is no difference between those languages.