Computer Science for IGCSE & O level - Programming (Section 7 - No. 30)

What is a key advantage of using constants in programming?
Constants can be easily changed without modifying the code.
Constants improve the program's execution speed.
Constants make the code more readable and maintainable.
Constants can store different data types.

Explanation

Constants provide meaningful names for values, making the code clearer and easier to update.

Comments (0)

Advertisement