#ifndef KEY_H #define NKEYS (sizeof(keytab) / sizeof(keytab[0])) struct key { const char *word; int count; }; #define KEY_H #endif int bsearch(char *word, struct key tab[], int n);