Professional Documents
Culture Documents
Outline
• Primitive data types
• Structured data types
• Strings
• Enumerated types
• Arrays
• Records
• Pointers
Points
• Numeric types
• Booleans
• Characters
Points
• Strings
• Enumerated types
• Arrays
• Records
string integer
length
string boolean
is it empty?
Specifically, we need:
the lower and upper bound (for subscript checking),
the base address of the array,
the size of an element.
11 12 13 14 15
21 22 23 24 25
31 32 33 34 35
11 12 13 14 15 21 22 23 24 25 31 32 33 34 35
11 21 31 12 22 32 13 23 33 14 24 34 15 25 35
p value(p) =
17 value(p^) = 17