1. Home
  2. Computing & Technology
  3. C / C++ / C#

Definition of Procedure

By , About.com Guide

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.
Explore C / C++ / C#
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. C / C++ / C#
  4. Getting Started
  5. Procedure - Definition

©2009 About.com, a part of The New York Times Company.

All rights reserved.