New course! Every coder should learn Generative AI!
Try a free lesson+ 2
What is the use of a '\0' character ?
C language
2 Answers
+ 3
To end a string. It's automatically placed at the end of the string. Without it you will get weird result if you prints it.