- Constants are those variables that do not change anytime during the value program execution.
- Whenever you declare a constant, its value remains fixed during the execution of the program.
- If there is an attempt to change its value then there is an error in the program.
- Constants in C language are of two types.
- Constant Literals
- Constant Variables
❖ These two types of constants are being explained in detail.
No comments:
Post a Comment
Please do not any spam link in Comment Box