Had an issue with Anagram Finder project and they should update the directions

I was having an issue on whether or not the code actually worked properly. I added some loops (bolded) at the end to print out the updated counters. I realized that the counters were matched but my code printed out “Not Anagram” and it allowed me to debug the code and make sure it was working. It also allowed me to add characters to the strings and make the anagrams not match and it was shown in the counter once it was printed. This could be a good thing to add to the end of the directions.

#include <stdio.h>
#include <string.h>
int main() {
int counter1 = {0, 0, 0, 0};
int counter2 = {0, 0, 0, 0};

char s1 = “dbb cccccaacb cdbababdcdcdab dcdad”;
char s2 = “bbbcc bdddccccad cdbbaaacaccdabdd”;

for (int i = 0; i < strlen(s1); i++) {
if (s1[i] == ‘a’) {
counter1[0]++;
} else if (s1[i] == ‘b’) {
counter1[1]++;
} else if (s1[i] == ‘c’) {
counter1[2]++;
} else if (s1[i] == ‘d’) {
counter1[3]++;
} else {
continue;
}
}
for (int i = 0; i < strlen(s2); i++) {
if (s2[i] == ‘a’) {
counter2[0]++;
} else if (s2[i] == ‘b’) {
counter2[1]++;
} else if (s2[i] == ‘c’) {
counter2[2]++;
} else if (s2[i] == ‘d’) {
counter2[3]++;
} else {
continue;
}
}

int flag = 0;
for (int i = 0; i < sizeof(counter1)/sizeof(int); i++) {
if (counter1[i] != counter2[i]) {
flag = 1;
}
}
if (flag == 1) {
printf(“Not Anagram\n”);
} else {
printf(“Anagram\n”);
}
** for (int j = 0; j < 4; j++) {**
** printf("%i", counter1[j]);**
** }**
** printf("\n");**
** for (int k = 0; k < 4; k++) {**
** printf("%i", counter2[k]);**
** }**
}