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

βˆ™ 2011-05-21 13:15:49
This answer is:
User Avatar
Study guides

Jane Eyre

20 cards

What is Mr Rochester's first name in Jane Eyre

What is meant to sitiing backwards on a chair

What was Grace Poole's salary

How long did Mrs Fairfax tell Jane Mr Rochester's guests would stay at Thornfield

➑️
See all cards
3.74
β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…
99 Reviews

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 difference between Procedures and Functions?

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


Difference between methods and functions in c plus plus?

A "method" is what Java calls its procedures. C++ has only functions (which return a value) and subroutines (which do not return a value).


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

Difference between Customer Service Standards and Policies and Procedures


What are the difference between managerial functions and managerial roles?

Difference between managerial roles,functions and activities


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

the difference between coding and filling


What is the between objectives and functions?

There is no difference


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 is difference between function and subroutine?

Nothing. Functions and subroutines are the same thing, as are procedures. Although we often think of a function as being a procedure or subroutine that returns a value, not all functions return a value; some functions are purely functional.


What is the difference between exponential functions and logarithmic functions?

They are inverses of each other.


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).


Can you pass arguments to procedures?

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


What is the difference between pre defined functions and user defined functions?

The person that defines them.

People also asked