Major difference between array and strings | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Major difference between array and strings

9th Apr 2020, 5:54 PM
User..
User.. - avatar
1 Réponse
+ 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