strcmp
returns 0 when they are equal. So I think you want != 0
Surely strcmp
won't return 0 for both, because it can't be equal to both.
Also it looks like you have a backslash at the start of your string, you should escape that with a double backslash.