i would like to check a size of data structure of a file in another file . how can i do so using fopen????

That comment doesn't really make much sense. What do you mean by data structure of a file? And how, exactly, is that in 'another file?'