Ok this is my situation I have this header file:
struct dir *dir_array;
struct files *file_array;
In my program if I want to access the struct fat member *dir_array or *file_array, given that this member are pointers to another struct how can I access this members from my main program? This is what I'm doing and it compiles:
My doubt is if I'm doing it right. Can anybody clarify my doubt and point my to the right direction. Thanks!!!