Lecture Fourteen

17 Sep 98


Click here to start


Table of Contents

Arrays as Function Arguments

Passing an Array v.s. Passing a Single Variable

String-Handling Functions

String-Handling Functions

String-Handling Functions

String-Handling Functions

Example on Strings

Computing a String's Length

Multidimensional Arrays

Point of Views of Multidimensional Array

Initializing Multidimensional Arrays

Multidimensional Array as Arguments

Matrix Multiplication

Sample Input/Output

The Prototype and Main Program

Function for Matrix Multiplication

Read/Print Matrix

Computational Complexity

Computational Complexity

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