Arrays are no longer modified by lvalues. It just means you need to make const values:
const byte fruitIds[][2] = { { 0x01, 0x02}, { 0x02, 0x03} };
These assignments from your message:
fruitIds = vegetableIds; fruitIds[0] = {0x02, 0x03};
Already illegal. The latter is not even the correct syntax, but I get a read-only variable is not assignable from clang trying to execute the first.
source share