I am confused to read the above line when my understanding is this that a byte-type (8-bit) data is written into an int-type (address) memory location. In the above line, i (second argument of write() method) is an int-type (16-bit) data item.
I am confused to read the above line when my understanding is this that a byte-type (8-bit) data is written into an int-type (address) memory location. In the above line, i (second argument of write() method) is an int-type (16-bit) data item.