#include using namespace std; int main() { char word[10]=\"php\"; char word1[10]=\"php\"; if(word==word1){ cout<<\"word
Use strcmp.
#include // ... if(std::strcmp(word, wordl) == 0) { // ... }