ExamVeda
Login
Home
11
If we compile the example.c file with the command "gcc -c example.c", then the output file will be
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
12
When mv f1 f2 is executed which file's inode is freed?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
13
How to execute ls command inside a vi editor?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
14
Unix is which kind of Operating System?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
15
Which one of the directory does not contain binary files?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
16
If a program is linked against a static library then
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
17
By default if any regular file is created, the number of link is displayed as 1 ?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
18
Which is loaded into memory when system is booted?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
19
Which one of the following statement is not true about the format-control letters for printf statement in awk program?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
20
What is the output of this program?
#include<stdio.h>
#include<stdlib.h>
#include<fcntl.h>
 
int main()
{
    int fd, new_fd;
    char *buff;
    buff = (char *)malloc(sizeof(char)*8);
    fd = open("test.c",O_RDONLY);
    new_fd = dup(fd);
    close(fd);
    read(new_fd,buff,8);
    printf("%s\n",buff);
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board