In C, can I say a white space in a string has a NULL type, or something else?
In C, which character represents the termination of a string?
In C, can I say a white space in a string has a NULL
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The null character (ASCII value 0,
'\0'as a character literal) terminates a string in C. This character is not usually regarded as a whitespace character.The space in the middle of this string for example:
"Hello world"is the character with ASCII value 32. This is not the same as NULL or\0.