Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję0
Major difference between array and strings
1 Odpowiedź
+ 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.