'\0' is a null character which has the value of 0. It is used to terminate a string of characters. So it's consider false.
"\0" is a null or emptystring. The only character in the string is the null character which terminates the string.So it's consider true.