I was trying to create function, that takes as a string as an argument, divide it into strings, whitch where words separated by spaces, save it to an array and returns it via pointer. Despite static allocation of memory to array, whitch adress was took, program crashes, because of segmentation fault. What is wrong with this code?

```
void separate_words(char* full_text, char *matrix[], int* how_many)
{
char tmp;
int actual_letter,which_letter=0;
for(actual_letter=0;actual_letter<strlen(full_text);actual_letter++)
{
    if(full_text[actual_letter]!=32)
{

    full_text[actual_letter];
    matrix[*how_many][whitch_letter]=full_text[actual_letter];//here crashes
}
else
{  
    *how_many++;
    which_letter=0;
}
}

//*how_many
}

/*...*/
char words[20][20];
char text[20];
int number_of_words=0;
separate_words(text,words,&number_of_words);

```