Write a C program that prints the type of file for each path provided as a command-line argument.
- If the path is not accessible, print the message
path error
. - Refer to the sample output sample_output.txt.
- Usage:
./types path1 [path2 ...]
- Your program will be manually tested for correctness with additional test cases including different paths.
- Your program should compile with no errors and warnings.