You are here:About>Computing & Technology>C / C++ / C#> Glossary> P> Procedure - Definition
About.comC / C++ / C#

"Definition of Procedure"

From David Bolton,
Your Guide to C / C++ / C#.
FREE Newsletter. Sign Up Now!
Definition: A procedure is a block of code that performs a single task. Its a building block of a computer program but is a somewhat old fashioned phrase as nowadays computer languages use functions not procedures.

The language Pascal had both procedures and functions - the only difference is that a procedure does not return a result. In C, C++ and C#, this is called a void function.

Glossary:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Also Known As: function, module
Examples: There was a major bug in the initialization procedure.
 All Topics | Email Article | Print this Page | |
Advertising Info | News & Events | Work at About | SiteMap | Reprints | HelpOur Story | Be a Guide
User Agreement | Ethics Policy | Patent Info. | Privacy Policy©2008 About, Inc., A part of The New York Times Company. All rights reserved.