Boolean and comparision | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 3

Boolean and comparision

while comparing strings lecicographically only first letter is compared ?

24th Feb 2018, 4:00 PM
Vineet Chheda
1 Respuesta
+ 10
because if the first character are not the same in both string, it compare on that character, if is same then go to the next character...
24th Feb 2018, 4:09 PM
Vukan
Vukan - avatar