17.
What is the output of this program?
#include<stdio.h>
#include<fcntl.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);
    printf("%d\n",s_id);
    if(shm_unlink("shared_mem") == -1)
        perror("shm_unlink");
    return 0;
}

20.
For a shared library, version number is changed when

Read More Section(Linux)

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