What is the output of this program? #include #include sem_t st; void *fun_t(void
What is the output of this program? #include #include sem_t st; void *fun_t(void *arg); void *fun_t(void *arg) { pthread_exit(“Bye”); } int main() { pthread_t…
How many links are created when we creat a directory file?
How many links are created when we creat a directory file?
If two files on same partition point to the same inode structure they are called
If two files on same partition point to the same inode structure they are called
What is stored in logfile as per below mentioned code if we execute ./a.out > lo
What is stored in logfile as per below mentioned code if we execute ./a.out > logfile? int main() { int fd; close(1); fd =…
What is the output of this program? #! /usr/bin/awk -f BEGIN { for(i=0;i
What is the output of this program? #! /usr/bin/awk -f BEGIN { for(i=0;i
This program will print the #include #include int main() { long int value; value
This program will print the #include #include int main() { long int value; value = pathconf(“/home/example”,_PC_NAME_MAX); printf(“%ldn”,value); return 0; }
What is a context switch?
What is a context switch?
What is the output of this when the pipe is successfully created? #include int m
What is the output of this when the pipe is successfully created? #include int main() { int ret_val; int fd[2]; ret_val = pipe(fd); printf(“%dn”,ret_val);…
When we install a new package in linux system, then
When we install a new package in linux system, then
Which one of the following is not correct about job control in bash shell?
Which one of the following is not correct about job control in bash shell?
What is the output of this program? #include #include int main() { pid_t fd; cha
What is the output of this program? #include #include int main() { pid_t fd; char ch; int count; fd = open(“demo.c”,O_RDONLY); do{ count =…
By this program the soket “demo_sock” will create #include #include #include #in
By this program the soket “demo_sock” will create #include #include #include #include int main() { struct sockaddr_un add_server; int fd_server; fd_server = socket(AF_UNIX,SOCK_STREAM,0); if(fd_server…
