0
“\0” on the end of string? What is it?
I see some string in the code with \0. What does it mean?
2 ответов
+ 1
it's called implicit null character that terminates a string or character array.
it's useful for reducing memory usage.
For more clarification, string length of "hello" and "hello\O" is same.
0
Thanks