Lecture Sixteen

24 Sep 98


Click here to start


Table of Contents

Pointers and Arrays

Using Array Name

Pointer to char and Array of char

Use pointer without Initialization is an error

Equivalence between Array Indexing and Pointer Dereferencing

Pointer Operation

Pointer Arithmetic

Compute the String Length Again

Call by Value and Call by Reference

Simulate Call by Reference

Reversing a String in Place

Pointers and Multidimensional Array

Mixing Array Indexing and Pointer Dereferencing

Fixed Size Two-Dimensional Array

Array of Pointers

Reading/Home Working

Author: NUS

Email: cscwjs@nus.edu.sg

Home Page: http://www.cz3.nus.edu.sg/~wangjs/CZ1102/cz1102.html

Download presentation source