Alternative of strcmp

as an alternative to strcmp function,can we use 2 nested for loops and put the conditions as:
if(a[i][j]==‘sunday’)
{
cout<<“sunday found”;
}

No you cannot do this. You have to use strcmp for comparing strings.
But instead of array of characters, if you are using string of c++ STL ,then this type of comparision can be done.