Answers for "how to see size of files in c"

C
1

c get file size

FILE *fp = fopen("example.txt", "r");
fseek(fp, 0L, SEEK_END);
int size = ftell(fp);
Posted by: Guest on March-09-2021

Code answers related to "how to see size of files in c"

Code answers related to "C"

Browse Popular Code Answers by Language