byte is not a standard type, so assume it is an integer type.
If you use an array variable alone, it returns the address of the element at the beginning of the array.In this case,
arduino returns the address of the leading element
If you add an integer value to it, that value will be the address of the element to which the element in the array has been skipped.For example, if you add 3, the address
&arduino of the three elements
If you add 0, you will skip nothing, so
This time code
In , if
uno contains 3,
&arduino.If you set this to
*input later, you get the same effect as
arduino is the first address of the array, from which the unoth data address.
uno is declared by byte, but int is sufficient.(No benefit of byte)
Rather than C++, I think it's C.
© 2022 OneMinuteCode. All rights reserved.