English
Language : 

CC78K0S Datasheet, PDF (42/520 Pages) NEC – C Compiler Ver.1.30 or Later Language
CHAPTER 2 CONSTRUCTS OF C LANGUAGE
• Basic types
(Arithmetic types)
• Character types
• Incomplete types
• Derived types
• Scalar types
Integral types
char type
Signed
signed char
integral
short int
types
int
long int
Unsigned integral types
(specified by unsigned)
Enumeration type
Floating-point types float
double
long double
char
signed char
unsigned char
Array with an indefinite object size, structure, union, and void type
Array type
Structure type
Aggregate type
Union type
Function type
Pointer type
Basic (Arithmetic types)
Pointer type
(1) Basic types
Basic data types are also referred to as “arithmetic types”. The arithmetic types consist of integral types and
floating-point types.
(a) Integral types
Integral data types are subdivided into four types. Each of these types has a value represented by the
binary numbers 0 and 1.
• char type
• Signed integral type
• Unsigned integral type
• Enumeration type
(i) char type
The char type has a sufficient size to store any character in the basic execution character set. The
value of a character to be stored in a char type object becomes positive. Data other than characters is
handled as an unsigned integer. In this case, however, if an overflow occurs, the overflowed part will
be ignored.
42
User’s Manual U14872EJ1V0UM