ICSE Class 10 Computer Applications
Question 24 of 25
Values and Data Types — Question 24
Back to all questions 24
Question Question 24
What are symbolic constants? How are they useful in writing programs?
Memory locations whose values cannot be changed within a program are called constants or symbolic constants. The advantages of symbolic constants are:
- It improves the readability of the program and makes it easier for someone to understand the code.
- Any unintentional changes to such variables are flagged by the compiler.
- Later, if there is a change in the value of such variables (e.g. interest rate changed), you just need to modify its value at one place and all the other occurrences will be taken care of automatically.