Example
void
foo(
char
*string1,
char
*string2)
{
if
(string1 == string2) {
}
}
Solution
If you meant to check whether the strings were the same, you want to write it as below.
void
foo(
char
*string1,
char
*string2)
{
if
(strcmp(string1, string2) == 0) {
}
}