answersLogoWhite

0

What is difference between Procedures and Functions?

Updated: 8/18/2019
User Avatar

Wiki User

14y ago

Best Answer

Generally a function will solve a specific equation and return the answer, whereas a procedure may perform some or many different actions.

Procedure and Functions: Procedure or function is a set of instructions grouped together to perform a task.Both takes any number of arguments.The only difference is that the function must return a value where as the procedures are not. In function we must have a return statement.Procedures should not have any return statements.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

Procedures are steps for a certain project and functions are how they are work like how a certain action of a moving object.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is difference between Procedures and Functions?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between customer service standard's policies and procedures?

Difference between Customer Service Standards and Policies and Procedures


What is the difference between procedures and functions?

Procedures are a set of instructions that perform a specific task but do not return a value, while functions are similar but return a value after completing their task. Functions are typically used when you need to perform some computation and return a result, while procedures are used for tasks that don't require a return value.


What is the difference between the indexing and coding filing procedures?

the difference between coding and filling


What is the difference between the population and sample regression functions Is this a distinction without difference?

What is the difference between the population and sample regression functions? Is this a distinction without difference?


What are the similarities and differences between procedures and functions in pascal programming language?

Procedures and functions are exactly the same in Pascal, the only difference is that a function must return a value to its caller while a procedure does not. A procedure is essentially the same as a function returning void in C. We use procedures and functions to avoid writing duplicate or repeated sections of code and thus reduce maintenance costs. With well-named procedures and functions our code also becomes self-documenting, making the code much easier to read (and maintain).


What is the between objectives and functions?

There is no difference


Can you pass argument to procedures?

Yes. Procedures are otherwise known as functions, and functions can accept arguments.


What is the difference between rules and procedures?

the difference is that Rules are for undesirable behaviors that have set consequences while procedures are expected classroom behaviors with no set consequences for a violation.


What is the difference between the Burch procedure and the Marshall-Marchetti-Krantz procedure?

The major difference between these procedures is the method for supporting the bladder


What's the difference between rules and procedures?

the difference is that Rules are for undesirable behaviors that have set consequences while procedures are expected classroom behaviors with no set consequences for a violation.


What is the difference between npn and pnp transistor in the application?

There is no difference they perform the same functions.


Which best describes a major difference between latent functions and manifest functions?

Latent functions are unintended, while manifest functions are intended.