Mega Code Archive
Categories
/
C Tutorial
/
Data Type
Constants
#include
main() { const int x = 20; const float PI = 3.14; printf("\nConstant values are %d and %.2f\n", x, PI); } Constant values are 20 and 3.14