How can I read a directory in a C program?
Answer Posted / sathish
In Linux/Unix , we have the header file dirent.h.This .h
file contains the direcory manipulation functions Some of
the functions are opendir,closedir,readdir.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
How can I get the current date or time of day in a c program?
Explain how do you sort filenames in a directory?
What is %s and %d in c?
What is c value paradox explain?
What is the modulus operator?
Describe newline escape sequence with a sample program?
Explain how can you tell whether a program was compiled using c versus c++?
`write a program to display the recomended action depends on a color of trafic light using nested if statments
What is the difference between struct and typedef struct in c?
What is a constant and types of constants in c?
Should a function contain a return statement if it does not return a value?
What is c standard library?
Are c and c++ the same?
Do you know pointer in c?
What is the use of structure padding in c?