Hacker News new | ask | show | jobs
by mgaunard 305 days ago
consider the C++ std::array, which exists to make arrays behave like normal objects.

You can do the same in C by wrapping your array in a struct.