Multidimensional Arrays in C With Example

Share This Post

Wait, You Said There Wouldn't Be Any More Pointers!

No, if you recall from last time, I mentioned there could be pointers that point to other pointers. How could you think we wouldn’t cover this! Plus, there is something super cool we can do with this so stay tuned!

Multidimensional arrays as the name implies, means we can have arrays within arrays. Since arrays defined by a pointer, we can create an array of pointers. Within each pointer, we can have an array. Thus, 2D arrays! Let’s do a quick summary of double pointers first:

Now, let’s get into some 2D arrays!

Now that we know more about 2D arrays, let’s see an example:

More To Explore
Learn C Programming
Efficiently Debugging C Programs

FacebookTweetPinLinkedInEmail What is Debugging? Overview of Debugging Debugging is an art form, rather than a science. Debugging is the act of removing any issues that

Learn C Programming
Pointers in C Made Easy

FacebookTweetPinLinkedInEmail Pointers in C What are pointers? Why do we even need these? Why can’t I find my wallet? Great questions, let’s dive in! Pointers

R U Coding Me LLC