What is the use of a '\0' character ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is the use of a '\0' character ?

C language

10th Oct 2020, 8:55 AM
CHOWDARY
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.
10th Oct 2020, 9:03 AM
你知道規則,我也是
你知道規則,我也是 - avatar