SyntaxFix
Write A Post
Hire A Developer
Questions
It should be
if (*message == '\0')
In C, simple quotes delimit a single character whereas double quotes are for strings.