Computer Science, asked by manasanamburi2002, 1 month ago

what is the importance of Null character in strings?​

Answers

Answered by Suvarna538
0
Most string-manipulating functions relies on NULL to know when the string is finished (and its job is done), and won't work with simple char-array (eg. they'll keep on working past the boundaries of the array, and continue until it finds a NULL somewhere in memory - often corrupting memory as it goes).
Similar questions