The value stored is only the last character.
No. The value that YOU store is always the last value read. You could do otherwise, using an array.
The value stored is only the last character.
No. The value that YOU store is always the last value read. You could do otherwise, using an array.