Skip to main content

Introduction to 2 Dimensional Arrays


2 Dimensional Arrays

In this part you will learn: 1. C syntax 2. 2D arrays 3. Nested for loops 4. Showing output In this tutorial I will teach you about 2D arrays. 2D arrays can be called array of arrays. First we had a single array that was in just one single dimension and we accessed its elements by writing the index in the subscript. In 2d arrays we have arrays that go in both direction. So now we access its elements by mentioning the row number as well as the column number in the subscript separately. Matrix Operation Basic Step: Open Dev C++ then File > new > source file

Add new comment

File attachments