c.ihypress.ca: examples of C programs
Home
> 09. Multidimensional Arrays
Searching a 2-D array
A function that searches a 2D array for a specific value and returns the row and column where it was found.
Scalar product
A program that computes the scalar product of two vectors.
Multiplication of a matrix by a vector
A program that performs the multiplication of a matrix by a vector.
Multiplication of 2 matrices
A program that performs the multiplication of two matrices. Color-coded for better understanding.
Dynamic Allocation of a 2-D array (Software Eng. Method)
The software engineer's method simulates a two-dimensional array with a single, dynamically-allocated one-dimensional array.
Dynamic Allocation of a 2-D array (Computer Sci. Method)
The computer scientist's method uses an array of pointers and each pointer of that array is pointing to an array of values.
Ihypress.ca is online since February 17, 2005.
[ Spielen Sie
Poker
im Internet |
Web Hosting Delhi
| Learn
how to make jello shots
with recipe. ]