#include #include #include "myheader.h" int main() { struct town *p = foo("foo.bin", 40); int i; for (i = 0; p[i].zip_code >= 0; ++i) printf("*%s* (%d)\n", p[i].name, p[i].zip_code); free(p); return EXIT_SUCCESS; }