Constant in C

A constant is a quantity that doesn’t change during program execution. This quantity can be stored at a location in the memory of the computer. Constant refers to fixed values that may not be altered by the program. E.g. pi= 3.14. C has four types of constant, they are:
  •  Integer constant 
  • Floating point constant 
  • Character constant 
  • String constant

No comments

Theme images by Jason Morrow. Powered by Blogger.