[prev] [index] [next]

Exercise: Matrix Operations

Consider a datatype for square matrices defined as:

#define N 10
typedef int Matrix[N][N];

Write an operation on this datatype to:

  • print values from a matrix variable onto stdout