Department of Engineering

IT Services

Constants

Symbolic constants are declared and initialised as variables, but the declaration is preceded with the const keyword. const float pi = 3.1415; declares a floating point constant pi.