This commit is contained in:
2026-02-02 05:05:29 +01:00
parent 85c5f535d8
commit 08707de85d
2 changed files with 4 additions and 2 deletions
@@ -61,8 +61,10 @@ char most_frequent(const char *str){
(*(values + 2)) ++;
}
char rslt = *cha;
free(values);
return *cha;
free(cha);
return rslt;
}
/*
int main () {