Enjoying the preview?
This is the free first lesson. Get full access — request a demo or sign in.
Enjoying the preview?
This is the free first lesson. Get full access — request a demo or sign in.
In these lessons, we’ll discuss how to create and use two-dimensional arrays in C. Two-dimensional arrays store data in tabular form, meaning in rows and columns like an Excel spreadsheet.
We’ll begin by discussing how to declare two-dimensional arrays in C. Then we’ll cover how to initialize two-dimensional arrays using the same technique you use to initialize one-dimensional arrays, but this time creating a list of lists. We’ll then discusses how to access and store data in two-dimensional arrays, concluding with some examples of how to perform row-wise and column-wise computations.
The course covers how to create and use two-dimensional arrays in C, including declaring them, initializing them with rows and columns of data, accessing and storing data using row and column references, and performing row-wise and column-wise computations.
Two-dimensional arrays store data in tabular form, meaning in rows and columns like an Excel spreadsheet.
The course includes four lessons: Declaring Two-Dimensional Arrays; Declaring and Initializing Two-Dimensional Arrays; Working with Two-Dimensional Arrays; and Working with Jagged Arrays.
This course builds skills in C (programming language), C data types, C-based programming languages, data structures, multidimensional arrays, and working with tabular data.
They are initialized using the same technique used for one-dimensional arrays, but by creating a list of lists.