arret
This commit is contained in:
@@ -64,7 +64,7 @@ char most_frequent(const char *str){
|
|||||||
free(values);
|
free(values);
|
||||||
return *cha;
|
return *cha;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
int main () {
|
int main () {
|
||||||
|
|
||||||
char test = most_frequent("WRYYYY!1!"); // 'Y'
|
char test = most_frequent("WRYYYY!1!"); // 'Y'
|
||||||
@@ -74,4 +74,4 @@ int main () {
|
|||||||
printf("%c\n",test);
|
printf("%c\n",test);
|
||||||
test = most_frequent('\0'); // 'l'
|
test = most_frequent('\0'); // 'l'
|
||||||
printf("%c\n", test);
|
printf("%c\n", test);
|
||||||
}
|
}*/
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ void my_strapp(char *src, char **dest){
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
int main(){
|
int main(){
|
||||||
|
|
||||||
char *src = strdup("World!");
|
char *src = strdup("World!");
|
||||||
@@ -60,4 +60,4 @@ int main(){
|
|||||||
printf("%s", *dest_ptr);
|
printf("%s", *dest_ptr);
|
||||||
free(src);
|
free(src);
|
||||||
free(dest);
|
free(dest);
|
||||||
}
|
}*/
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ char *replace(char *str, char *sub){
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
int main(){
|
int main(){
|
||||||
|
|
||||||
|
|
||||||
@@ -67,4 +67,4 @@ int main(){
|
|||||||
test = replace("*H*e*l*l*o*", "BIM"); // BIMHBIMeBIMlBIMlBIMoBIM
|
test = replace("*H*e*l*l*o*", "BIM"); // BIMHBIMeBIMlBIMlBIMoBIM
|
||||||
printf("%s\n", test);
|
printf("%s\n", test);
|
||||||
free(test);
|
free(test);
|
||||||
}
|
}*/
|
||||||
|
|||||||
Reference in New Issue
Block a user