string_blanks.c 473 Bytes
#include <stdlib.h>
#include <stdio.h>
#include <string.h>

char **string_blanks(char *s) {
    // Implement this!
    // Allocate space for a list of strings.
    // (Hint: you need one string for each character that gets replaced by '_')

    // Use strcpy to copy the contents of s into a new string, setting one of
    // the characters in the copy to '_'.
    
    // Add the edited copy to the list of strings.

    // Return the final list of strings with blanks.
}