This commit is contained in:
2026-02-02 04:54:21 +01:00
parent 49213b1343
commit 390f7ef7d9
3 changed files with 6 additions and 6 deletions
@@ -64,7 +64,7 @@ char most_frequent(const char *str){
free(values);
return *cha;
}
/*
int main () {
char test = most_frequent("WRYYYY!1!"); // 'Y'
@@ -74,4 +74,4 @@ int main () {
printf("%c\n",test);
test = most_frequent('\0'); // 'l'
printf("%c\n", test);
}
}*/
+2 -2
View File
@@ -48,7 +48,7 @@ void my_strapp(char *src, char **dest){
}
/*
int main(){
char *src = strdup("World!");
@@ -60,4 +60,4 @@ int main(){
printf("%s", *dest_ptr);
free(src);
free(dest);
}
}*/
+2 -2
View File
@@ -56,7 +56,7 @@ char *replace(char *str, char *sub){
}
/*
int main(){
@@ -67,4 +67,4 @@ int main(){
test = replace("*H*e*l*l*o*", "BIM"); // BIMHBIMeBIMlBIMlBIMoBIM
printf("%s\n", test);
free(test);
}
}*/