c and c++ tutorials // online learning spot
The constants can be of two type:
The constants can be of two type:
1. Numeric: Integer and Decimal(Floating)
2. Symbolic: Characters and Strings.
Numeric
- Integer : 1,-4,789,12345,-22324 etc.
- Floating : 1.0000, -234.56464, 6.77e-23, 4.32e45 etc.
- Characters : A, D, c, z, #, %, Escape sequences etc.
- String : Multiple character group - "INDIA", "007 Bond", ";-)" etc.
No comments:
Post a Comment