#include #include #include #include #include #include "wordArray.h" // print min key for a given WordArray size int main(int argc, char **argv) { if(argc != 2) { fprintf(stderr, "Usage: %s key-length\n", argv[0]); return 1; } WordArray w = wordArrayCreate(atoi(argv[1])); assert(w); puts(wordArrayMinKey(w)); wordArrayDestroy(w); return 0; }