char
•It
is used to save single character
•Like
a x b c t / [ ] = etc
•Character
that is assigned should be enclosed in
inverted single commas like
‘ ’.
float
•Float
is used to store fractional values.
•Its
size depend on compiler .
•Usually
it is 2 byte.
•Fractional
part may be small or long. so we use
float(small factional size), double (medium fractional size) and long
double (long fractional size) for it.
No comments:
Post a Comment