Here, add()
and printStudent()
are user defined functins defined in file second.c.
We are using the functions defined in second.c in the file first.c.
For that, we use the header file new.h. It will contain declaration of add
and printStudent
, but the definition
will be in second.c.
After defining the functions in new.h we include the header file in first.c.