42.
Which one of the following is not true?

45.
What is the output of this program?
#include<stdio.h>
#include<fcntl.h>
#include<errno.h>
#include<sys/stat.h>
#include<sys/mman.h>
 
int main()
{
    int s_id;
    s_id = shm_open("shared_mem",O_CREAT|O_RDWR,0666);
    if(s_id != EACCES)
        perror("Permission granted\n");
    return 0;
}

48.
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;
}

Read More Section(Linux)

Each Section contains maximum 100 MCQs question on Linux. To get more questions visit other sections.