โœ… 3nigmatico ๐Ÿ”ฐ is a user on niu.moe. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
โœ… 3nigmatico ๐Ÿ”ฐ @robots

@mrtino Technically speaking, there are no arrays in C though... ๐Ÿค”

Well, the language does implement arrays, but... its in fact a pointer to a memory address in the heap... In other words, arrays in C do not start at 0, but at their specific address... Same in C++ If I recall correctly...

So... while in other languages with protected types it might start at 0 or 1, in C/C++ they would trully start at 0x1fffecd or whatever.

You can still use indexes though... but these are just multipliers.

ยท 0 ยท 1