a null character (ASCII value 0, '\0'as a character literal) terminates a string in C. This character is usually not considered a space character.
The space in the middle of this line, for example: "Hello world"is a character with an ASCII value of 32. This is not the same as NULL or \0.
source
share