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:
๐Ÿ™
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between procedures and functions?
Write your answer...
Submit
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 difference between constituent functions and ministrant function?

Compulsory in nature


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 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 difference between exponential functions and logarithmic functions?

They are inverses of each other.


Can you pass arguments to procedures?

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


What is the difference between structure oriented programming and object oriented programming?

Structured programming is a procedure oriented technique. It mainly emphasizes on the functions or methods rather than data.Object oriented technique is the newest approach of programming. In this technique emphasis is given mainly on data rather than functions or procedures.Procedures


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 pre defined functions and user defined functions?

The person that defines them.


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.


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


Who was the us sociologist who pointed out the difference between the manifest functions and the latent functions of social patterns?

Merton


What is difference between system calls and library functions?

Library functions are predefined functions in the User space where System calls are predefined functions in the Kernel space.


What is the difference functions between duck and adult chicken legs?

they walk on it


What is the difference between msgbox and inputbox functions?

i don't know what is the difference between msgbox and inputbox function because i want to know the difference between them but i didn't got answer what is this foolishness stupid '


What is the difference between policy and practice in human resource?

Yes, there is difference between policy and practice. A policy is rules, regulations and procedures that you should follow within a practice.


Who was the us sociologist who pointed out the difference between manifest functions and the latent functions of social pattern?

Robert K. Merton


What is the difference between internetwork and internetworking?

An internetwork is a collection of individual networks, connected by intermediate networking devices, that functions as a single large network. Internetworking refers to the industry, products, and procedures that meet the challenge of creating and administering internetworks.