Vidyalelo
Computer Science · Q787

Linux

Engineering and GATE · Computer Science · question 787

Q787

This program will print the #include #include int main() long int value; value = pathconf("/home/example",_PC_NAME_MAX); printf("%ld ",value); return 0;

A.
maximum numbers of the file that can store in this directory
B.
maximum length of a filename in this directory that the process is allowed to create
Answer
C.
segmentation fault
D.
none of the mentioned

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board