#include using namespace std; int main() { char word[10]=\"php\"; char word1[10]=\"php\"; if(word==word1){ cout<<\"word
Use std::string objects instead:
std::string
#include #include using namespace std; int main() { string word="php"; string word1="php"; if(word==word1){ cout<<"word = word1"<