Posts by srlo • 1 point
1 post
-
0
votes0
answers186
viewsQ: Return string array in c
I am trying to return an array of strings to use later in main. Here is my function: char **separar_palavras2() { setlocale(LC_ALL, "Portuguese"); FILE *arquivo; arquivo = fopen(ftexto, "r"); int i…