double myArray[3][12] = {0};
or, if you want to avoid the gcc warning “missing braces around initializer” (the warning appears with -Wall
or, more specifically -Wmissing-braces
)
double myArray[3][12] = {{0}};
double myArray[3][12] = {0};
or, if you want to avoid the gcc warning “missing braces around initializer” (the warning appears with -Wall
or, more specifically -Wmissing-braces
)
double myArray[3][12] = {{0}};