This program will print the
#include<stdio.h>
#include<unistd.h>
int main()
{
long int value;
value = sysconf(_SC_OPEN_MAX);
printf("%ld\n",value);
return 0;
}
#include<stdio.h>
#include<unistd.h>
int main()
{
long int value;
value = sysconf(_SC_OPEN_MAX);
printf("%ld\n",value);
return 0;
}
A. maximum number of threads in current process
B. maximum number of files that a process can have open at a time
C. segmentation fault
D. none of the mentioned
Answer: Option A
Join The Discussion