I have the string:
s="abc\0"
and I would like to see that output with the /0 at the end.
Any ideas, please?
>Solution :
'\0' is the null character in this context.
To make it be interpreted as \0, you have to write it as '\\0‘, or s = "abc\\0" in the full string.