Integer
In computer science, an integer
is a datum of integral
data type, a data type which represents some finite subset of the
mathematical integers.
Integral data types may be of different sizes and may or may not be allowed to
contain negative values. Integers are commonly represented in a computer as a
group of binary digits. The size of the grouping varies so the set of integer
sizes available varies between different types of computers. Computer hardware
nearly always provides a way to represent a processor register or
memory address as an integer.
Real
Constants in C
are fixed value that does not change during the execution of a program. A real
constant is combination of a whole number
followed by a decimal point
and the fractional part. Example: 0.0083
-0.75 .95 215.
Character;
·
It is a single alphabet or a digit or a special symbol enclosed in a
single quote.
·
Maximum length of a character constant is 1.
· Example:
'T', '9', '$'
'T', '9', '$'
No comments:
Post a Comment