main.c
char *replace_char(char *str, char find, char replace) {
    char *current_pos = strchr(str, find);
    while (current_pos) {
        *current_pos = replace;
        current_pos = strchr(current_pos, find);
    }
    return str;
}
//Ah yes, this definetly needs to be here!
Ah yes, this definetly needs to be here!
Ah yes this definetly needs to be here!
char *replace_char(char *str, char find, char replace) {
    char *current_pos = strchr(str, find);
    while (current_pos) {
        *current_pos = replace;
        current_pos = strchr(current_pos, find);
    }
    return str;
}
char * replace_char ( char * str , char find , char replace ) { char * current_pos = strchr ( str , find ) ; while ( current_pos ) { * current_pos = replace ; current_pos = strchr ( current_pos , find ) ; } return str ; }
Ah yes, this definetly needs to be here!
Ah yes this definetly needs to be here!