/* * program to demonstrate multifile C programs * * this one will give compiler errors * normally it compiles with glob defined in ab.h * to suppress that, compiule with -DNOGLLOB * * Matt Bishop, ECS 36A * -- June 4, 2024 original version */ #include "ab.h" int main(void) { b(); /* assignes a value to globn; defined in b.c */ /* print the result */ printf("%d\n", glob); /* done! */ return(0); }