Question: Write a C program that starts at a given directory and descends the file tree from that point recording the sizes of all the files
Write a C program that starts at a given directory and descends the file tree from that point recording the sizes of all the files it finds. When it is all done, it should print a histogram of the file sizes using a bin width specified as a parameter (ex. with 1024, file sizes of 0 to 1023 go there, 1024 to 2047 in the next one etc.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
