Need help to fix my function! (its supposed to check if two words are the same

using namespace std;
bool isEqual(char word1[100], char word2[100])
{
bool check = true;
for (int i=0;i<100;i++) // loops through every letter of the name
{
if (word1[i] == '\0'&& word2[i]== '\0') // eliminates the answer from being true if only some of the name is written
{
check= true;
break;
}

cout<< "Give me two words and I will tell you if they are the same! cause I'm a magician!!!";
cout<< "What is your first word?";
cin>> firstword;
cout<< "What is your second word?";
cin>> secondword;
if (isEqual(firstword,secondword)== false)
{
cout << "ABRACADABRA! The words are not the same!";
}
else
{
cout << "ABRACADABRA! The words are the same!!!";
}