Hi All,
Can we use structure or function or variable written in a header into another header without including name of header of which we are going to use the struc or func or variable of that particular header
for ex:
file.h header has
And i also have a header data.hCode:struct database { int id_number; int age; float salary; };
can i use the struct mentioned above into data.h without using
#include<file.h> in data.h file. I think we cannot but i am in situation where a header uses another header without #include defination.
could not understand why is that... Kindly help me out
Thanks n Regards.