7: K&R 5: Pointers and Arrays
This chapter covers pointers and arrays.
Slides
Videos
- Lecture: Historical Context For Chapter 5 - Pointers and Arrays
- A Reading of Chapter 5 - Pointers and Arrays
References
- Chapter 5: Pointers and Arrays (html)
- Sample source code
- Article: Pointers (from Wikipedia)
- Article: Buffer Overflow (from Wikipedia)
- Article: Stack Buffer Overflow (from Wikipedia)
Discussions
- Arrays and Pointers (Login Required)
Tools
- Quiz: Arrays and Pointers (Login Required)
- LBS290-13: Calculate Pay (Login Required)
- Exercise RS-10: Concatenate Two Strings. Pre-allocate your character arrays large enought to handle up to 100 characters on input for each string. (Login Required)
- Exercise RS-11: Write a function like Python rstrip() (Login Required)
- Exercise RS-12: Write a function like Python lstrip() (Login Required)
- Autograder: LBS290-14 Play with Arrays (Login Required)
- Autograder: LBS290-15 Play with Strings (Login Required)
- LBS-98: A Touring Machine (Login Required)