codeGK
Code it ALL
Constants in C - CodeGK

♦ Constants in C

♣ Example1: Constants in C

Constant can be defined for all the data types.
These constant will then behave as read-only mechanism.
In this example, various constants are illustrated.
Example
Input:
Output:
Constants