Declaring multi-dimensional array

These array declarations both cause compiler errors:

byte foo [][6] = { { '0', '0','0','0','0','1' },{ '0', '0','0','0','0','2' } };
byte bar [] [6] = { "000001", "000002" };

Errors:

Severity	Code	Description	File	Line
Error		44:85: error: too many initializers for 'byte [0][6] {aka unsigned char [0][6]}	D:\Documents\Arduino\libraries\NanoBots\src\BJDriverRF24.h	44
Error		46:48: error: too many initializers for 'byte [0][6] {aka unsigned char [0][6]}	D:\Documents\Arduino\libraries\NanoBots\src\BJDriverRF24.h	46

I have also tried this (one less byte in inner array):

byte array[][6] = { { '0','0','0','0','1' },{ '0','0','0','0','2' } };

But I get the same error.

Even this causes the same error:

int foo [] [6] = { {0,0,0,0,0,1},{0,0,0,0,0,2} };
int bar [] [6] = { {0,0,0,0,1},{0,0,0,0,2} };

What is the correct way to declare and initialized these arrays?

I would be very surprised if you couldn't find an answer on Google.
It's a programmer's most powerful tool, use it.

Pieter

Thanks for your patronizing advice. I have tried Google over and over, but it tells me that my declarations are correct. So how about demonstrating your brilliance with a useful answer?

byte foo [][6] = { { '0', '0','0','0','0','1' },{ '0', '0','0','0','0','2' } };
byte bar [] [6] = { "000001", "000002" };

I confess I can't see anything wrong with "foo", but for "bar", seven into six doesn't go. (When this exact "error" came up recently, the IDE merely flagged it as a warning)

Which toolchain are you using?