Write a function that takes a directory name as an argument and writes to standard output the maximum of the lengths of all filenames in that directory. If the function’s argument is not a directory name, write an error message to standard output and exit with nonzero status.

What will be an ideal response?

Computer Science & Information Technology

You might also like to view...

The Save As dialog box displays only those files saved in the current ________

A) window B) application C) session D) workspace

Computer Science & Information Technology

When changing the number of elements in an array at run-time with the ReDim statement, existing values in the array are destroyed unless the __________ keyword is used.

a. Preserve b. Reserve c. ReDim d. Protect

Computer Science & Information Technology