CSCE 314 Lecture 21

From Notes
Jump to navigation Jump to search

« previous | Friday, October 14, 2011 | next »


Type Checking

Names can be reserved (keywords)

Variable

  • Any non-reserved word can be interpreted as variables
  • Limited by scope (name binding; inner hides outer), type, and lifetime
  • Bound to Location/memory address (l-value; pointer) or value (r-value; default)