4 Respuestas
+ 6
A char is this 1 but not this 13. Only one character.
+ 3
Алексей Болдырев
Because char contains only one character but here is 2 character.
+ 2
'1' and '3' are both one character. When you have more than one, it's considered a string (or an array of characters)
try the same code with just a single character, either '1' or '3'
+ 2
Thanks! I am understand! All the best! 😁