Constants
Constants are often used in programs for values that do not change. Examples:
perimeter = 2 * (length + breadth);
rem = count % 7;
printf ("Hello\n");
Types of constants: numeric constants, character constants, and string constants.
Previous slide
Next slide
Back to first slide
View graphic version