Create Multi-Dimensional Arrays - C Array

C examples for Array:Multidimensional Arrays

Introduction

Arrays can be multi-dimensional.

Demo Code

#include <stdio.h>
int main(void) {
    int mArray[2][2] = { { 0, 1 }, { 2, 3 } };
    mArray[0][0] = 0;//from  w  w w. j  a v  a  2s .co  m
    mArray[0][1] = 1;

}

Related Tutorials