Why Char array is preferred over String for storing password?  | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 3

 Why Char array is preferred over String for storing password? 

8th Jan 2018, 4:11 PM
raveena kagne
raveena kagne - avatar
3 Respuestas
+ 1
Char stores one symbol instead of full string, therefore there is no need to check full password, just incorrect symbol. At least that's what I think. It may also be more secure than String.
10th Jan 2018, 5:59 PM
Yuriy
- 2
hii
10th Jan 2018, 5:45 AM
ayush