Expalin Static Initialisation of Pointer Arrays with example
Initialisation of arrays of pointers is an ideal application for an internal static array.
some_fn()
{ static char *months = { ``no month'',
``jan'', ``feb'',
...};
}
static reserves a private permanent bit of memory.
Labels: C