Major difference between array and strings | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Major difference between array and strings

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