New C Tutorial published on arrays

Image by Andrew Martin from Pixabay

This continues the series of C tutorials. In this one, I’m looking at arrays and how to declare them. An array is an essential part of C programming, but they are always fixed size. You can’t change the size at runtime or specify the size in a variable before declaring it unless you declare them using pointers which is a bit advanced for the fourth tutorial.

The picture is a metal grid but it illustrates what a two dimensional array [5][7] might look like. I looked but I couldn’t find any pictures of seven dimensional arrays!

(Visited 20 times, 1 visits today)