A constant is a container that is used to store a value. But you can’t change the value of that container during the execution of the program. Thus, the constant is a fixed value, it remains the same through the complete program.
Constants are used to define fixed values like the charge on an electron or mathematical constant pi so that their value does not get changed in the program even by mistake.
There are two broad categories of constant in the C language. Read more.