Table of Contents
show
Introduction
Constant is an identifier whose value remains same throughout the execution of the program. The value of the constant is known to the compiler at compile time. It cannot be placed on the left side of the assignment operator and can only be placed on the right side of the assignment operator
Types of Constants,
- Literal Constants
- Integer literal constants
- Floating point literal constants
- Character Literal Constants
- String Literal Constants
- Qualified constants
- Symbolic Constants
- Enumeration Constants
Views: 0