int strip_q_marks(char *s){
    int length = strlen(s);
    for (int i = length-1; i <= 0; i--){
        if (s[i] != '?'){
            s[i+1] = '\0';
            return i+1;
        }
    }
    return 0;
}
strip the ? at the end of the string and return the amount of ? stripped