: () ?
C-
const char array[2][14] = { "first string", "second string" };
To define a constant array of non-string type constant arrays, the initializer is different:
const int array[2][3] =
{
{ 1, 2, 3 },
{ 4, 5, 6 }
};
(If necessary, you must make an array static const.)
source
share