What is the use of having the const qualifier?

The const qualifier identifies a specific parameter or variable as read-only attribute to the function or to the entire program. This can come in handy when we are dealing with static data inside function and in a program.

Be the first to comment

Leave a Reply

Your email address will not be published.


*