strtok Unhandled exception;Access violation writing location
问题 #include <stdio.h> #include <time.h> #include <string.h> char *matrix[10][10]; int main(void) { int i; char *list[4]; char *words[20] = { " c a t ", " c a r ", " b e a r ", " s h i p ", " m o u s e ", " b e a t l e ", " c o a t ", " n e s t ", " i c e ", " s u g a r ", " b a c o n ", " f r o w n ", " s m i l e ", " d e a d ", " f e a t h e r ", " g o a t ", " h e n "," j e l l y "," k o a l a "," l i p s " }; int length; int num; int k; int m; char otherString=0; char *c; int j; int s; int r;