answersLogoWhite

0


Best Answer

Functions return a value.

NoteThere are no procedures in C, only functions with no return value (type void is used to indicate that).

In general a function is the purpose or what a system actually does( what output it returns) and a procedure is how that output is returned.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the 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 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


What is difference between Procedures and Functions?

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.


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.


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

Latent functions are unintended, while manifest functions are intended.


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

There is no difference they perform the same functions.