{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lecture12 - CIS 450 Computer Architecture and Organization...

Info iconThis preview shows pages 1–13. Sign up to view the full content.

View Full Document Right Arrow Icon
CIS 450 Computer Architecture and Organization Lecture 12: Pointers and Arrays Mitch Neilsen Mitch Neilsen [email protected] [email protected] 219D Nichols Hall 219D Nichols Hall
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
– 2 – Arrays Arrays Familiar definition: type name[size] Familiar usage: name[index] Differences from Java: name is not an object name is like a constant “pointer” Array index lookups are not bounds checked: name[size+10000] isn’t an error! Address cannot be changed at run-time because name is a constant integer address value
Background image of page 2