Lesson 9: What Goes Around Comes Around

Outline:

  1. Signed integers and 2’s complement
    • example: integers.c
    • converting between signed and unsigned
    • negation
    • size changes: expanding and truncating
    • example: printing_bytes.c
  2. Assignment 5: String Things – work for at least Proficiency by Tuesday!
    • recall: C strings and char *
    • useful function: strtok

Reading assignment (to be completed by the next class):