10 is the ASCII linefeed character.
0 is an ASCII null, but in this case it is used as the value that indicates the end of a null-terminated char array.
Only the linefeed will be send, the null terminates the print function.
With a single character, '\n' with single quotes will work as well.