SyntaxFix
Write A Post
Hire A Developer
Questions
You can use strcmp() if you wish to order/compare strings lexicographically. If you just wish to check for equality then == is just fine.
strcmp()
==