SyntaxFix
Write A Post
Hire A Developer
Questions
Give it a chance:
Try getting string via function gets(string) then check condition as if(string[0] == '\0')