You are required to write a C program under linux that produces the same output as
ls â€“lR <pathname>.
without the group gid of each file.
Your program must either have the following program structure, or if you have chosen a different structure, a detailed explanation of why you have chosen this structure.
A note on programming style
Programs should be decomposed into functions, and a function should do only one thing
Print more file details. the function calling hierarchy should be
main(int argc, char **argv) //only checks arguments