Lecture Summaries - Week 12
Jump To:
[Lecture Index |
Previous Week's Lectures |
Next Week's Lectures]
Topics covered:
- Why array parameters can be declared as pointer parameters.
- Why we need to create some arrays at run-time (dynamic allocation).
- How to use malloc to "allocate" bytes.
- Using malloc to create an array of integers
(makearray.c).
- Why we have to test malloc's return value.
- How to return space with free.
Reading: Chapter 9.6.
[EE150 Home Page |
Top Of Page]