Lecture 5 C Programming Language

6/13/00


Click here to start


Table of Contents

Lecture 5 C Programming Language

Summary of Lecture 5

Addresses and Pointers

Addresses and Pointers

Addresses and Pointers

Pointers and Arrays

Pointers and Arrays cont.

Pointers and Function-Arguments

Arrays as Function arguments

Find the Error

Double Indirection Review

Dynamic Memory Allocation

Dynamic Memory Allocation

Dynamic Memory Allocation (cont)

Dynamic Memory Allocation (cont)

Pointers to Functions

Pointers to Functions

Dynamic Memory Allocation - Example

Dynamic Memory Allocation - Example

Dynamic Memory Allocation - Example

1D Arrays

Fixed 2D Arrays

Dynamic 2D Arrays

2D Arrays

More on Arrays

Author: Aya Aner

Email: aya@cs,columbia.edu

Home Page: http://www.cs.columbia.edu/~aya/W3101-01