Array initialization
I know that the question will be trivial, however, I do not understand why the instruction uint8_t dataRx[4] = { 1 }; does not initialize all the elements of an array to 0 ... but only the first one:

I have programmed little in the last while so I will probably misremember myself, however I was almost convinced that such instruction initialized the whole array to zero ... as also written here.
The two arrays in the picture (let's consider only array2) are inside a function of a sensor library that, at this point, I don't know if it is intended to initialize to 1 only the first element or all the elements of array2 ..
In any case I solved it using:
memset
To recap, is the fact that the uint8_t dataRx[4] = { 1 } instruction does NOT initialize all elements to 0 an error on my part or is this likely to happen on other compilers?
