does defining LEN and HASHSIZE like that make them global variables?? i don't think it does but i am not sureCode:#include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <time.h> #define LEN 20 /* word array size */ #define HASHSIZE 12289 /* hash table size */ typedef struct L { char k[LEN]; struct L *next; } List; /* list element */ struct hash_list { char *word; struct hash_list *next; } hash_list; /* hash table element */



LinkBack URL
About LinkBacks



