How do you define constant array of constant objects in C (not C++)?
I can define
int const Array [] = {
/* init data here */
};
but that is a non-constant array of constant objects.
I could use
int const * const Array = {
/* init data here */
};
and it would probably work. But is it possible do this with array syntax? (Which looks more clean)
int constandconst intare completely equivalent expressions, the standard allows both, for the sake of confusing programmers. Gotta love C.