☰ Topics



× Home Introduction Structure of program Variables and keywords Constants Data Types Operators Statements Functions Storage Classes Array Structure Pointer Union Strings Header Files

Constants

Constants in C

A constant is an entity that doesn't change during the executin of a program. Followings are the different types of constants: Example: const int a=20;

  1. Real Cosntant:
  2. Integer Constant:
  3. Character Constant:
  4. String Constant:
Next Topic ➤