1. Computing & Technology

Discuss in my forum

Definition of Constant

By , About.com Guide

Definition: A constant is a value of any type that has the same value and can never change.

In C #define is used to define a constant. C++ and C# have more programming features for constants, including specifying that parameters remain constant in a 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
Examples:
It is good programming practice to define values in programs as constants.

©2012 About.com. All rights reserved.

A part of The New York Times Company.