Q341
Which of the following macro returns true if the file type is a directory?
A.
S_ISREG
B.
S_ISDIR
AnswerC.
S_ISCHR
D.
S_ISFIFO
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board