0
What is the size of a FILE in c.
Why it varies from compiler to compiler.
1 Odpowiedź
+ 2
Open the file for reading.Then use fseek with SEEK_END cursor option.store the result of ftell in variable and print the result you get the file size.It varie because some compiler don't use common some size of data type i think .