The character '0' is the digit zero.
The character '\0' is the number 0; the backslash escapes away the digit meaning.
You could also use the number 0 anywhere you can use '\0', but people will bug...