There are mainly two types of C constants:
1. Primary Constants
2. Secondary Constants
{also see: Constants, Variables and Keywords used in C}
These constants are further categorized as shown below:
Primary Constants
a) Integer Constants {also see: Rules for constructing Integer Constants}
b) Real Constants {also see: Rules for constructing Real Constants & Rules for constructing Real Constants in exponential form}
c) Character Constants {also see: Rules for constructing Character Constants}
Secondary Constants
a) Array
b) Pointer
c) Structure
d) Union
e) Enum etc.
1. Primary Constants
2. Secondary Constants
{also see: Constants, Variables and Keywords used in C}
These constants are further categorized as shown below:
Primary Constants
a) Integer Constants {also see: Rules for constructing Integer Constants}
b) Real Constants {also see: Rules for constructing Real Constants & Rules for constructing Real Constants in exponential form}
c) Character Constants {also see: Rules for constructing Character Constants}
Secondary Constants
a) Array
b) Pointer
c) Structure
d) Union
e) Enum etc.
No comments:
Post a Comment
Please give your valuable comments or queries if you fell its helpful or if you like the contents of the site. Thanks...