C Constants

15 February 20120 comments

A  constant is a quantity that does not change with the execution of the program,but remains same throughout the whole program execution e.g 10,"INDIA", 19.75 etc.Constants may be numeric,characters or strings and are also known as literals.constant can be classified into different categories as shown below:

Integer Constant
Floating Point Constant
Character Constant
String Constant
Share this article :

Post a Comment

 
Copyright © 2011. All Compiler - All Rights Reserved