Q:

how to use ssscanf with matrix of strings in c

I want to save some strings in a matrix of string. The problem is that I get this error: segmentation fault core dumped. I researched on the internet but I haven't any example that showed how to use ssscanf with string matrix. 
char * b[20][4];
sscanf("one two three","%s %s %s",b[0][0], b[0][1],b[0][2]);
printf("%s %s %s",b[0][0], b[0][1],b[0][2]);

A:

try:
char b[20][8]; // three has five characters, lose the * to allocate memory
sscanf("one two three","%s %s %s",b[0], b[1],b[2]);
printf("%s %s %s\n",b[0], b[1],b[2]);

