+ 3
What is the use of \n \t \0
I have encountered use of this in many programs please explain
4 Answers
+ 5
"\n": Line break
"\t": Tab character
"\0": String terminator, NULL character
+ 5
\n creates a new line
\t create space between character
\0 nothing happen
+ 1
Improved readability and string termination (language dependent).
0
\n - new line
\t - tab
\0 - end of the string (NULL)