Question: Write a C program called prfiles. prfiles takes one argument, the pathname to a directory. profiles's job is to print the name of all ordinary

Write a C program called "prfiles". "prfiles" takes one argument, the pathname to a directory. "profiles"'s job is to print the name of all ordinary files in that directory or any directory below it in the file tree. (hint: use recursion).

your code should not test extensively for error conditions or include header files, but do use enough comments to make the program understandable.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!