Major difference between array and strings | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Major difference between array and strings

9th Apr 2020, 5:54 PM
User..
User.. - avatar
1 Respuesta
+ 3
A string (if we're talking about C) always ends with a zero (0 or '\0'). If it doesn't, it's a char array.
9th Apr 2020, 6:06 PM
HonFu
HonFu - avatar